<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Kinetis Bootloader Host: Command.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="nxp_logo_small.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Kinetis Bootloader Host
   &#160;<span id="projectnumber">2.0.0</span>
   </div>
   <div id="projectbrief">Host Tools for Kinetis devices</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Introduction</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_command_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">Command.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Copyright (c) 2013-2015, Freescale Semiconductor, Inc.</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * All rights reserved.</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * Redistribution and use in source and binary forms, with or without modification,</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * are permitted provided that the following conditions are met:</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> * o Redistributions of source code must retain the above copyright notice, this list</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *   of conditions and the following disclaimer.</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * o Redistributions in binary form must reproduce the above copyright notice, this</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *   list of conditions and the following disclaimer in the documentation and/or</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *   other materials provided with the distribution.</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> * o Neither the name of Freescale Semiconductor, Inc. nor the names of its</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> *   contributors may be used to endorse or promote products derived from this</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *   software without specific prior written permission.</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&quot; AND</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"> * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"> * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#ifndef _Command_h_</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#define _Command_h_</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#include &lt;array&gt;</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#include &lt;assert.h&gt;</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#include &quot;DataSource.h&quot;</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#include &quot;Packetizer.h&quot;</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#include &quot;host_types.h&quot;</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#include &quot;format_string.h&quot;</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#include &quot;property/property.h&quot;</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#include &quot;SourceFile.h&quot;</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#include &quot;BusPal.h&quot;</span></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="keyword">using namespace </span><a class="code" href="namespacestd.html">std</a>;</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceblfwk.html">blfwk</a></div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;{</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="structblfwk_1_1cmd__t.html">   53</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structblfwk_1_1cmd__t.html">cmd_t</a></div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;{</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    uint8_t tag;</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    uint32_t mask;</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> *<span class="keyword">const</span> name;</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <a class="code" href="structblfwk_1_1cmd__t.html">cmd_t</a>(uint8_t tag, uint32_t mask, <span class="keyword">const</span> <span class="keywordtype">char</span> *name)</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;        : tag(tag)</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;        , mask(mask)</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;        , name(name)</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    {</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    }</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;};</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1cmd__t.html">cmd_t</a> kCommand_FlashEraseAll(kCommandTag_FlashEraseAll, 0x00000001, <span class="stringliteral">&quot;flash-erase-all&quot;</span>);</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1cmd__t.html">cmd_t</a> kCommand_FlashEraseRegion(kCommandTag_FlashEraseRegion, 0x00000002, <span class="stringliteral">&quot;flash-erase-region&quot;</span>);</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1cmd__t.html">cmd_t</a> kCommand_ReadMemory(kCommandTag_ReadMemory, 0x00000004, <span class="stringliteral">&quot;read-memory&quot;</span>);</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1cmd__t.html">cmd_t</a> kCommand_WriteMemory(kCommandTag_WriteMemory, 0x00000008, <span class="stringliteral">&quot;write-memory&quot;</span>);</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1cmd__t.html">cmd_t</a> kCommand_FillMemory(kCommandTag_FillMemory, 0x00000010, <span class="stringliteral">&quot;fill-memory&quot;</span>);</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1cmd__t.html">cmd_t</a> kCommand_FlashSecurityDisable(kCommandTag_FlashSecurityDisable, 0x00000020, <span class="stringliteral">&quot;flash-security-disable&quot;</span>);</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1cmd__t.html">cmd_t</a> kCommand_GetProperty(kCommandTag_GetProperty, 0x00000040, <span class="stringliteral">&quot;get-property&quot;</span>);</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1cmd__t.html">cmd_t</a> kCommand_ReceiveSbFile(kCommandTag_ReceiveSbFile, 0x00000080, <span class="stringliteral">&quot;receive-sb-file&quot;</span>);</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1cmd__t.html">cmd_t</a> kCommand_Execute(kCommandTag_Execute, 0x00000100, <span class="stringliteral">&quot;execute&quot;</span>);</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1cmd__t.html">cmd_t</a> kCommand_Call(kCommandTag_Call, 0x00000200, <span class="stringliteral">&quot;call&quot;</span>);</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1cmd__t.html">cmd_t</a> kCommand_Reset(kCommandTag_Reset, 0x00000400, <span class="stringliteral">&quot;reset&quot;</span>);</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1cmd__t.html">cmd_t</a> kCommand_SetProperty(kCommandTag_SetProperty, 0x00000800, <span class="stringliteral">&quot;set-property&quot;</span>);</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1cmd__t.html">cmd_t</a> kCommand_FlashEraseAllUnsecure(kCommandTag_FlashEraseAllUnsecure, 0x00001000, <span class="stringliteral">&quot;flash-erase-all-unsecure&quot;</span>);</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1cmd__t.html">cmd_t</a> kCommand_FlashProgramOnce(kCommandTag_FlashProgramOnce, 0x00002000, <span class="stringliteral">&quot;flash-program-once&quot;</span>);</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1cmd__t.html">cmd_t</a> kCommand_FlashReadOnce(kCommandTag_FlashReadOnce, 0x00004000, <span class="stringliteral">&quot;flash-read-once&quot;</span>);</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1cmd__t.html">cmd_t</a> kCommand_FlashReadResource(kCommandTag_FlashReadResource, 0x00008000, <span class="stringliteral">&quot;flash-read-resource&quot;</span>);</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1cmd__t.html">cmd_t</a> kCommand_ConfigureQuadSpi(kCommandTag_ConfigureQuadSpi, 0x00010000, <span class="stringliteral">&quot;configure-quadspi&quot;</span>);</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1cmd__t.html">cmd_t</a> kCommand_ReliableUpdate(kCommandTag_ReliableUpdate, 0x00100000, <span class="stringliteral">&quot;reliable-update&quot;</span>);</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="comment">// flash-image is not a ROM basic command, but a combination of several basic commands.</span></div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1cmd__t.html">cmd_t</a> kCommand_FlashImage(0x00, 0x00000000, <span class="stringliteral">&quot;flash-image&quot;</span>);</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1cmd__t.html">cmd_t</a> kCommand_ConfigureI2c(kCommandTag_ConfigureI2c, 0x00020000, <span class="stringliteral">&quot;i2c&quot;</span>);</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1cmd__t.html">cmd_t</a> kCommand_ConfigureSpi(kCommandTag_ConfigureSpi, 0x00040000, <span class="stringliteral">&quot;spi&quot;</span>);</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1cmd__t.html">cmd_t</a> kCommand_ConfigureCan(kCommandTag_ConfigureCan, 0x00080000, <span class="stringliteral">&quot;can&quot;</span>);</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;<span class="keyword">const</span> array&lt;const cmd_t, 22&gt; kCommands = { kCommand_FlashEraseAll,</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;                                           kCommand_FlashEraseRegion,</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;                                           kCommand_ReadMemory,</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;                                           kCommand_WriteMemory,</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;                                           kCommand_FillMemory,</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;                                           kCommand_FlashSecurityDisable,</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;                                           kCommand_GetProperty,</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;                                           kCommand_ReceiveSbFile,</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;                                           kCommand_Execute,</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;                                           kCommand_Call,</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;                                           kCommand_Reset,</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;                                           kCommand_SetProperty,</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;                                           kCommand_FlashEraseAllUnsecure,</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;                                           kCommand_FlashProgramOnce,</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;                                           kCommand_FlashReadOnce,</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;                                           kCommand_FlashReadResource,</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;                                           kCommand_ConfigureQuadSpi,</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;                                           kCommand_ReliableUpdate,</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;                                           kCommand_FlashImage,</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;                                           kCommand_ConfigureI2c,</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;                                           kCommand_ConfigureSpi,</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;                                           kCommand_ConfigureCan };</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;</div><div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="structblfwk_1_1property__t.html">  117</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structblfwk_1_1property__t.html">property_t</a></div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;{</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    uint32_t value;</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> *description;</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;    <a class="code" href="structblfwk_1_1property__t.html">property_t</a>(uint8_t value, <span class="keyword">const</span> <span class="keywordtype">char</span> *description)</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;        : value(value)</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;        , description(description)</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;    {</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;    }</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;    <span class="keywordtype">string</span> str()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> format_string(<span class="stringliteral">&quot;0x%02x&quot;</span>, value); }</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;};</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1property__t.html">property_t</a> kProperty_ListProperties(kPropertyTag_ListProperties, <span class="stringliteral">&quot;list-properties&quot;</span>);</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1property__t.html">property_t</a> kProperty_CurrentVersion(kPropertyTag_BootloaderVersion, <span class="stringliteral">&quot;current-version&quot;</span>);</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1property__t.html">property_t</a> kProperty_AvailablePeripherals(kPropertyTag_AvailablePeripherals, <span class="stringliteral">&quot;available-peripherals&quot;</span>);</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1property__t.html">property_t</a> kProperty_FlashStartAddress(kPropertyTag_FlashStartAddress, <span class="stringliteral">&quot;flash-start-address&quot;</span>);</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1property__t.html">property_t</a> kProperty_FlashSizeInBytes(kPropertyTag_FlashSizeInBytes, <span class="stringliteral">&quot;flash-size-in-bytes&quot;</span>);</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1property__t.html">property_t</a> kProperty_FlashSectorSize(kPropertyTag_FlashSectorSize, <span class="stringliteral">&quot;flash-sector-size&quot;</span>);</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1property__t.html">property_t</a> kProperty_FlashBlockCount(kPropertyTag_FlashBlockCount, <span class="stringliteral">&quot;flash-block-count&quot;</span>);</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1property__t.html">property_t</a> kProperty_AvailableCommands(kPropertyTag_AvailableCommands, <span class="stringliteral">&quot;available-commands&quot;</span>);</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1property__t.html">property_t</a> kProperty_CrcCheckStatus(kPropertyTag_CrcCheckStatus, <span class="stringliteral">&quot;crc-check-status&quot;</span>);</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1property__t.html">property_t</a> kProperty_Reserved9(kPropertyTag_Reserved9, <span class="stringliteral">&quot;reserved&quot;</span>);</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1property__t.html">property_t</a> kProperty_VerifyWrites(kPropertyTag_VerifyWrites, <span class="stringliteral">&quot;verify-writes&quot;</span>);</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1property__t.html">property_t</a> kProperty_MaxPacketSize(kPropertyTag_MaxPacketSize, <span class="stringliteral">&quot;max-packet-size&quot;</span>);</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1property__t.html">property_t</a> kProperty_ReservedRegions(kPropertyTag_ReservedRegions, <span class="stringliteral">&quot;reserved-regions&quot;</span>);</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1property__t.html">property_t</a> kProperty_Reserved13(kPropertyTag_Reserved13, <span class="stringliteral">&quot;reserved&quot;</span>);</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1property__t.html">property_t</a> kProperty_RAMStartAddress(kPropertyTag_RAMStartAddress, <span class="stringliteral">&quot;ram-start-address&quot;</span>);</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1property__t.html">property_t</a> kProperty_RAMSizeInBytes(kPropertyTag_RAMSizeInBytes, <span class="stringliteral">&quot;ram-size-in-bytes&quot;</span>);</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1property__t.html">property_t</a> kProperty_SystemDeviceId(kPropertyTag_SystemDeviceId, <span class="stringliteral">&quot;system-device-id&quot;</span>);</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1property__t.html">property_t</a> kProperty_FlashSecurityState(kPropertyTag_FlashSecurityState, <span class="stringliteral">&quot;flash-security-state&quot;</span>);</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1property__t.html">property_t</a> kProperty_UniqueDeviceId(kPropertyTag_UniqueDeviceId, <span class="stringliteral">&quot;unique-device-id&quot;</span>);</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1property__t.html">property_t</a> kProperty_FacSupport(kPropertyTag_FacSupport, <span class="stringliteral">&quot;flash-fac-support&quot;</span>);</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1property__t.html">property_t</a> kProperty_FlashAccessSegmentSize(kPropertyTag_FlashAccessSegmentSize, <span class="stringliteral">&quot;flash-access-segment-size&quot;</span>);</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1property__t.html">property_t</a> kProperty_FlashAccessSegmentCount(kPropertyTag_FlashAccessSegmentCount, <span class="stringliteral">&quot;flash-access-segment-count&quot;</span>);</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1property__t.html">property_t</a> kProperty_FlashReadMargin(kPropertyTag_FlashReadMargin, <span class="stringliteral">&quot;flash-read-margin&quot;</span>);</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1property__t.html">property_t</a> kProperty_QspiInitStatus(kPropertyTag_QspiInitStatus, <span class="stringliteral">&quot;qspi/otfad-init-status&quot;</span>);</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1property__t.html">property_t</a> kProperty_TargetVersion(kPropertyTag_TargetVersion, <span class="stringliteral">&quot;target-version&quot;</span>);</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1property__t.html">property_t</a> kProperty_ExernalMemoryAttributes(kPropertyTag_ExternalMemoryAttributes, <span class="stringliteral">&quot;external-memory-attributes&quot;</span>);</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1property__t.html">property_t</a> kProperty_ReliableUpdateStatus(kPropertyTag_ReliableUpdateStatus, <span class="stringliteral">&quot;reliable-update-status&quot;</span>);</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1property__t.html">property_t</a> kProperty_Invalid(kPropertyTag_InvalidProperty, <span class="stringliteral">&quot;invalid-property&quot;</span>);</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;<span class="keyword">typedef</span> array&lt;const property_t, 27&gt; PropertyArray;</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;<span class="keyword">const</span> PropertyArray kProperties = {</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;    kProperty_ListProperties,         kProperty_CurrentVersion,</div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;    kProperty_AvailablePeripherals,   kProperty_FlashStartAddress,</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;    kProperty_FlashSizeInBytes,       kProperty_FlashSectorSize,</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;    kProperty_FlashBlockCount,        kProperty_AvailableCommands,</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;    kProperty_CrcCheckStatus,         kProperty_Reserved9,</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;    kProperty_VerifyWrites,           kProperty_MaxPacketSize,</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;    kProperty_ReservedRegions,        kProperty_Reserved13,</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;    kProperty_RAMStartAddress,        kProperty_RAMSizeInBytes,</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;    kProperty_SystemDeviceId,         kProperty_FlashSecurityState,</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;    kProperty_UniqueDeviceId,         kProperty_FacSupport,</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;    kProperty_FlashAccessSegmentSize, kProperty_FlashAccessSegmentCount,</div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;    kProperty_FlashReadMargin,        kProperty_QspiInitStatus,</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;    kProperty_TargetVersion,          kProperty_ExernalMemoryAttributes,</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;    kProperty_ReliableUpdateStatus,</div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;};</div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;</div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;</div><div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="structblfwk_1_1peripheral__t.html">  181</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structblfwk_1_1peripheral__t.html">peripheral_t</a></div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;{</div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;    uint32_t mask;</div><div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> *description;</div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;</div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;    <a class="code" href="structblfwk_1_1peripheral__t.html">peripheral_t</a>(uint32_t mask, <span class="keyword">const</span> <span class="keywordtype">char</span> *description)</div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;        : mask(mask)</div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;        , description(description)</div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;    {</div><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;    }</div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;};</div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;</div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1peripheral__t.html">peripheral_t</a> kPeripheral_Uart(0x00000001, <span class="stringliteral">&quot;UART&quot;</span>);</div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1peripheral__t.html">peripheral_t</a> kPeripheral_I2C(0x00000002, <span class="stringliteral">&quot;I2C Slave&quot;</span>);</div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1peripheral__t.html">peripheral_t</a> kPeripheral_Spi(0x00000004, <span class="stringliteral">&quot;SPI Slave&quot;</span>);</div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1peripheral__t.html">peripheral_t</a> kPeripheral_Can(0x00000008, <span class="stringliteral">&quot;CAN&quot;</span>);</div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1peripheral__t.html">peripheral_t</a> kPeripheral_UsbHid(0x00000010, <span class="stringliteral">&quot;USB HID&quot;</span>);</div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1peripheral__t.html">peripheral_t</a> kPeripheral_UsbCdc(0x00000020, <span class="stringliteral">&quot;USB CDC&quot;</span>);</div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;<span class="keyword">const</span> <a class="code" href="structblfwk_1_1peripheral__t.html">peripheral_t</a> kPeripheral_UsbDfu(0x00000040, <span class="stringliteral">&quot;USB DFU&quot;</span>);</div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;</div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;<span class="keyword">const</span> array&lt;const peripheral_t, 7&gt; kPeripherals = { kPeripheral_Uart,  kPeripheral_I2C,    kPeripheral_Spi,</div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;                                                    kPeripheral_Can,   kPeripheral_UsbHid, kPeripheral_UsbCdc,</div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;                                                    kPeripheral_UsbDfu };</div><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;</div><div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="structblfwk_1_1_status_message_table_entry.html">  209</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structblfwk_1_1_status_message_table_entry.html">StatusMessageTableEntry</a></div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;{</div><div class="line"><a name="l00211"></a><span class="lineno"><a class="line" href="structblfwk_1_1_status_message_table_entry.html#a62bebf439f2e0d970fb56aef981f351b">  211</a></span>&#160;    int32_t <a class="code" href="structblfwk_1_1_status_message_table_entry.html#a62bebf439f2e0d970fb56aef981f351b">status</a>;            </div><div class="line"><a name="l00212"></a><span class="lineno"><a class="line" href="structblfwk_1_1_status_message_table_entry.html#ad5f3428fa39b2152951485d371336eab">  212</a></span>&#160;    <span class="keyword">const</span> std::string <a class="code" href="structblfwk_1_1_status_message_table_entry.html#ad5f3428fa39b2152951485d371336eab">message</a>; </div><div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;};</div><div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;</div><div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;<span class="keyword">extern</span> <a class="code" href="structblfwk_1_1_status_message_table_entry.html">StatusMessageTableEntry</a> g_statusCodes[];</div><div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;</div><div class="line"><a name="l00225"></a><span class="lineno"><a class="line" href="classblfwk_1_1_progress.html">  225</a></span>&#160;<span class="keyword">class </span><a class="code" href="classblfwk_1_1_progress.html">Progress</a></div><div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;{</div><div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="classblfwk_1_1_progress.html#a6bd2a4b609067598ae66443c84c312c6">  229</a></span>&#160;    <a class="code" href="classblfwk_1_1_progress.html#a6bd2a4b609067598ae66443c84c312c6">Progress</a>()</div><div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;        : m_segmentIndex(1)</div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;        , m_segmentCount(1)</div><div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;        , m_progressCallback(NULL)</div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;        , m_abortPhase(NULL)</div><div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;    {</div><div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;    }</div><div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;</div><div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="classblfwk_1_1_progress.html#a22fdff62e531d87b5f3a36e14e2ad057">  238</a></span>&#160;    <a class="code" href="classblfwk_1_1_progress.html#a22fdff62e531d87b5f3a36e14e2ad057">Progress</a>(<span class="keywordtype">void</span> (*callback)(<span class="keywordtype">int</span>, <span class="keywordtype">int</span>, <span class="keywordtype">int</span>), <span class="keywordtype">bool</span> *abortPhase)</div><div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;        : m_segmentIndex(1)</div><div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;        , m_segmentCount(1)</div><div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;        , m_progressCallback(callback)</div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;        , m_abortPhase(abortPhase)</div><div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;    {</div><div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;    }</div><div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;</div><div class="line"><a name="l00247"></a><span class="lineno"><a class="line" href="classblfwk_1_1_progress.html#a4ca54904334a795fbd1ea2be680011e0">  247</a></span>&#160;    <a class="code" href="classblfwk_1_1_progress.html#a4ca54904334a795fbd1ea2be680011e0">~Progress</a>() {}</div><div class="line"><a name="l00251"></a><span class="lineno"><a class="line" href="classblfwk_1_1_progress.html#a429b2c0cae9de7a5f04952cfd17843f7">  251</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classblfwk_1_1_progress.html#a429b2c0cae9de7a5f04952cfd17843f7">progressCallback</a>(<span class="keywordtype">int</span> percentage)</div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;    {</div><div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;        <span class="keywordflow">if</span> (m_progressCallback != NULL)</div><div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;        {</div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;            m_progressCallback(percentage, m_segmentIndex, m_segmentCount);</div><div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;        }</div><div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;    }</div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;</div><div class="line"><a name="l00260"></a><span class="lineno"><a class="line" href="classblfwk_1_1_progress.html#aebd319a5fa62be9ef953d29ef7584830">  260</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classblfwk_1_1_progress.html#aebd319a5fa62be9ef953d29ef7584830">abortPhase</a>(<span class="keywordtype">void</span>)</div><div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;    {</div><div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;        <span class="keywordflow">if</span> ((m_abortPhase) &amp;&amp; (*m_abortPhase == <span class="keyword">true</span>))</div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;        {</div><div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;        }</div><div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;        <span class="keywordflow">else</span></div><div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;        {</div><div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;        }</div><div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;    }</div><div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;</div><div class="line"><a name="l00277"></a><span class="lineno"><a class="line" href="classblfwk_1_1_progress.html#a6fc912651119a802e0bcb6a0b381077f">  277</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classblfwk_1_1_progress.html#a6fc912651119a802e0bcb6a0b381077f">registerCallback</a>(<span class="keywordtype">void</span> (*callback)(<span class="keywordtype">int</span>, <span class="keywordtype">int</span>, <span class="keywordtype">int</span>), <span class="keywordtype">bool</span> *abortPhase)</div><div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;    {</div><div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;        m_progressCallback = callback;</div><div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;        m_abortPhase = abortPhase;</div><div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;    }</div><div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;</div><div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00284"></a><span class="lineno"><a class="line" href="classblfwk_1_1_progress.html#ab33039c5a99c87f4bb197d8a77787841">  284</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="classblfwk_1_1_progress.html#ab33039c5a99c87f4bb197d8a77787841">m_segmentIndex</a>; </div><div class="line"><a name="l00285"></a><span class="lineno"><a class="line" href="classblfwk_1_1_progress.html#a65a6a64463a6c491d471f0b9f0fce8d8">  285</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="classblfwk_1_1_progress.html#a65a6a64463a6c491d471f0b9f0fce8d8">m_segmentCount</a>; </div><div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;</div><div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;    void (*m_progressCallback)(<span class="keywordtype">int</span> percentage, <span class="keywordtype">int</span> segmentIndex, <span class="keywordtype">int</span> segmentCount); </div><div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;    <span class="keywordtype">bool</span> *m_abortPhase; </div><div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;};</div><div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;</div><div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;</div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;</div><div class="line"><a name="l00301"></a><span class="lineno"><a class="line" href="classblfwk_1_1_command.html">  301</a></span>&#160;<span class="keyword">class </span><a class="code" href="classblfwk_1_1_command.html">Command</a></div><div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;{</div><div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;    <span class="keyword">static</span> <a class="code" href="classblfwk_1_1_command.html">Command</a> *create(<span class="keyword">const</span> string_vector_t *argv);</div><div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;</div><div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;    <span class="keyword">static</span> std::string getStatusMessage(status_t code);</div><div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;</div><div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00332"></a><span class="lineno"><a class="line" href="classblfwk_1_1_command.html#a592dccb30df743284e6a12d59f874d23">  332</a></span>&#160;    <a class="code" href="classblfwk_1_1_command.html#a592dccb30df743284e6a12d59f874d23">Command</a>(<span class="keyword">const</span> string_vector_t *argv)</div><div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;        : m_argv(*argv)</div><div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;        , m_responseValues()</div><div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;        , m_responseDetails()</div><div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;        , m_progress()</div><div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;    {</div><div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;    }</div><div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;</div><div class="line"><a name="l00343"></a><span class="lineno"><a class="line" href="classblfwk_1_1_command.html#aa1bf9f0fd9a1d8091ca1bfa22fe1b2bf">  343</a></span>&#160;    <a class="code" href="classblfwk_1_1_command.html#aa1bf9f0fd9a1d8091ca1bfa22fe1b2bf">Command</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *<span class="keyword">const</span> name)</div><div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;        : m_argv(1, name)</div><div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;        , m_responseValues()</div><div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;        , m_responseDetails()</div><div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;        , m_progress()</div><div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;    {</div><div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;    }</div><div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;</div><div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00353"></a><span class="lineno"><a class="line" href="classblfwk_1_1_command.html#aa0a4a4e68422e1f76c2bfdd472a36583">  353</a></span>&#160;    <span class="keyword">virtual</span> <a class="code" href="classblfwk_1_1_command.html#aa0a4a4e68422e1f76c2bfdd472a36583">~Command</a>() {}</div><div class="line"><a name="l00357"></a><span class="lineno"><a class="line" href="classblfwk_1_1_command.html#a19293e9923df7730149f95084159d9a8">  357</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classblfwk_1_1_command.html#a19293e9923df7730149f95084159d9a8">init</a>() { <span class="keywordflow">return</span> <span class="keyword">true</span>; }</div><div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;</div><div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;</div><div class="line"><a name="l00362"></a><span class="lineno"><a class="line" href="classblfwk_1_1_command.html#a74034125054c2ea174c8f5f26a902a2e">  362</a></span>&#160;    <span class="keyword">virtual</span> std::string <a class="code" href="classblfwk_1_1_command.html#a74034125054c2ea174c8f5f26a902a2e">getArg</a>(<span class="keywordtype">int</span> arg)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_argv.at(arg); }</div><div class="line"><a name="l00364"></a><span class="lineno"><a class="line" href="classblfwk_1_1_command.html#ad538fdc76f96c5166afb6f4440e7d349">  364</a></span>&#160;    <span class="keyword">virtual</span> std::string <a class="code" href="classblfwk_1_1_command.html#ad538fdc76f96c5166afb6f4440e7d349">getName</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> getArg(0); }</div><div class="line"><a name="l00366"></a><span class="lineno"><a class="line" href="classblfwk_1_1_command.html#a51145da63794b2996322a873ba8e9b6e">  366</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> <a class="code" href="classblfwk_1_1_command.html#a51145da63794b2996322a873ba8e9b6e">getArgCount</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_argv.size(); }</div><div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;</div><div class="line"><a name="l00370"></a><span class="lineno"><a class="line" href="classblfwk_1_1_command.html#a8c5616ea53b2386c5f6dd5ca42e8f750">  370</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classblfwk_1_1_command.html#a8c5616ea53b2386c5f6dd5ca42e8f750">sendTo</a>(<a class="code" href="classblfwk_1_1_packetizer.html">Packetizer</a> &amp;packetizer) {}</div><div class="line"><a name="l00372"></a><span class="lineno"><a class="line" href="classblfwk_1_1_command.html#aad5b73025e9f648a46a595aabda920e3">  372</a></span>&#160;    <span class="keyword">virtual</span> <span class="keyword">const</span> uint32_vector_t *<a class="code" href="classblfwk_1_1_command.html#aad5b73025e9f648a46a595aabda920e3">getResponseValues</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;        <span class="keywordflow">return</span> <span class="keyword">const_cast&lt;</span>uint32_vector_t *<span class="keyword">&gt;</span>(&amp;m_responseValues);</div><div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;    }</div><div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;</div><div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;    <span class="keyword">virtual</span> std::string getResponse() <span class="keyword">const</span>;</div><div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;</div><div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;    <span class="keywordtype">void</span> logResponses() <span class="keyword">const</span>;</div><div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;</div><div class="line"><a name="l00384"></a><span class="lineno"><a class="line" href="classblfwk_1_1_command.html#aa909283ea9160b21d9673b75365f23e6">  384</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classblfwk_1_1_command.html#aa909283ea9160b21d9673b75365f23e6">registerProgress</a>(<a class="code" href="classblfwk_1_1_progress.html">Progress</a> *progress) { m_progress = progress; }</div><div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> processResponse(<span class="keyword">const</span> generic_response_packet_t *packet, uint8_t commandTag);</div><div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;</div><div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00393"></a><span class="lineno"><a class="line" href="classblfwk_1_1_command.html#ad805b9ee39a4ab9cdfe6584590e2ce11">  393</a></span>&#160;    <a class="code" href="classblfwk_1_1_progress.html">Progress</a> *<a class="code" href="classblfwk_1_1_command.html#ad805b9ee39a4ab9cdfe6584590e2ce11">m_progress</a>; </div><div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;</div><div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00396"></a><span class="lineno"><a class="line" href="classblfwk_1_1_command.html#abfb8748889d575faae835df892f5a637">  396</a></span>&#160;    string_vector_t <a class="code" href="classblfwk_1_1_command.html#abfb8748889d575faae835df892f5a637">m_argv</a>;           </div><div class="line"><a name="l00397"></a><span class="lineno"><a class="line" href="classblfwk_1_1_command.html#a33facfaf717322568f444f3b9250755d">  397</a></span>&#160;    uint32_vector_t <a class="code" href="classblfwk_1_1_command.html#a33facfaf717322568f444f3b9250755d">m_responseValues</a>; </div><div class="line"><a name="l00398"></a><span class="lineno"><a class="line" href="classblfwk_1_1_command.html#a6077654f4fffadd3ef014ce142f72f43">  398</a></span>&#160;    <span class="keywordtype">string</span> <a class="code" href="classblfwk_1_1_command.html#a6077654f4fffadd3ef014ce142f72f43">m_responseDetails</a>;         </div><div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;};</div><div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;</div><div class="line"><a name="l00406"></a><span class="lineno"><a class="line" href="classblfwk_1_1_command_packet.html">  406</a></span>&#160;<span class="keyword">class </span><a class="code" href="classblfwk_1_1_command_packet.html">CommandPacket</a></div><div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;{</div><div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00410"></a><span class="lineno"><a class="line" href="classblfwk_1_1_command_packet.html#aaa92f2f4819d52ff5df89c41ccd53332">  410</a></span>&#160;    <span class="keyword">enum</span> <a class="code" href="classblfwk_1_1_command_packet.html#aaa92f2f4819d52ff5df89c41ccd53332">_command_packet_constants</a></div><div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;    {</div><div class="line"><a name="l00412"></a><span class="lineno"><a class="line" href="classblfwk_1_1_command_packet.html#aaa92f2f4819d52ff5df89c41ccd53332aebee90234688c4eb050571ca4b8bd6d0">  412</a></span>&#160;        kMaxCommandArguments = (kDefaultMaxPacketSize - <span class="keyword">sizeof</span>(command_packet_t)) /</div><div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;                               <span class="keyword">sizeof</span>(uint32_t) </div><div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;    };</div><div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;</div><div class="line"><a name="l00417"></a><span class="lineno"><a class="line" href="structblfwk_1_1_command_packet_1_1_packet_with_args.html">  417</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="structblfwk_1_1_command_packet_1_1_packet_with_args.html">PacketWithArgs</a></div><div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;    {</div><div class="line"><a name="l00420"></a><span class="lineno"><a class="line" href="structblfwk_1_1_command_packet_1_1_packet_with_args.html#a9822696d15d0a929e243dcb014079ba8">  420</a></span>&#160;        <span class="keywordtype">void</span> <a class="code" href="structblfwk_1_1_command_packet_1_1_packet_with_args.html#a9822696d15d0a929e243dcb014079ba8">init</a>(uint8_t tag, uint8_t flags, uint8_t numArguments)</div><div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;        {</div><div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;            m_header.commandTag = tag;</div><div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;            m_header.flags = flags;</div><div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;            m_header.reserved = 0;</div><div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;            m_header.parameterCount = numArguments;</div><div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;        }</div><div class="line"><a name="l00427"></a><span class="lineno"><a class="line" href="structblfwk_1_1_command_packet_1_1_packet_with_args.html#abdb381ebdecbbe2e3af2af0086fd3f1c">  427</a></span>&#160;        command_packet_t <a class="code" href="structblfwk_1_1_command_packet_1_1_packet_with_args.html#abdb381ebdecbbe2e3af2af0086fd3f1c">m_header</a>;                  </div><div class="line"><a name="l00428"></a><span class="lineno"><a class="line" href="structblfwk_1_1_command_packet_1_1_packet_with_args.html#a2b9c10576effd97fffa1f2ab7d675e89">  428</a></span>&#160;        uint32_t m_arguments[kMaxCommandArguments]; </div><div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;    };</div><div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;</div><div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00433"></a><span class="lineno"><a class="line" href="classblfwk_1_1_command_packet.html#a53cd71af0625af82f9c66bcc63349e0d">  433</a></span>&#160;    <a class="code" href="classblfwk_1_1_command_packet.html#a53cd71af0625af82f9c66bcc63349e0d">CommandPacket</a>(uint8_t tag, uint8_t flags = 0)</div><div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;    {</div><div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;        m_numArguments = 0;</div><div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;        m_packet.init(tag, flags, m_numArguments);</div><div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160;    }</div><div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;</div><div class="line"><a name="l00440"></a><span class="lineno"><a class="line" href="classblfwk_1_1_command_packet.html#a478ab252b0f34da571bb6dae3853c9b8">  440</a></span>&#160;    <a class="code" href="classblfwk_1_1_command_packet.html#a478ab252b0f34da571bb6dae3853c9b8">CommandPacket</a>(uint8_t tag, uint8_t flags, uint32_t arg)</div><div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;    {</div><div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;        m_numArguments = 1;</div><div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;        m_packet.init(tag, flags, m_numArguments);</div><div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;        m_packet.m_arguments[0] = arg;</div><div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;    }</div><div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;</div><div class="line"><a name="l00448"></a><span class="lineno"><a class="line" href="classblfwk_1_1_command_packet.html#a002f9721368f1406fea60fbd4a17efd5">  448</a></span>&#160;    <a class="code" href="classblfwk_1_1_command_packet.html#a002f9721368f1406fea60fbd4a17efd5">CommandPacket</a>(uint8_t tag, uint8_t flags, uint32_t arg1, uint32_t arg2)</div><div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;    {</div><div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;        m_numArguments = 2;</div><div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;        m_packet.init(tag, flags, m_numArguments);</div><div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;        m_packet.m_arguments[0] = arg1;</div><div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160;        m_packet.m_arguments[1] = arg2;</div><div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;    }</div><div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;</div><div class="line"><a name="l00457"></a><span class="lineno"><a class="line" href="classblfwk_1_1_command_packet.html#a7c00d6e5ea62fa339c5ec4470c3c44d5">  457</a></span>&#160;    <a class="code" href="classblfwk_1_1_command_packet.html#a7c00d6e5ea62fa339c5ec4470c3c44d5">CommandPacket</a>(uint8_t tag, uint8_t flags, uint32_t arg1, uint32_t arg2, uint32_t arg3)</div><div class="line"><a name="l00458"></a><span class="lineno">  458</span>&#160;    {</div><div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160;        m_numArguments = 3;</div><div class="line"><a name="l00460"></a><span class="lineno">  460</span>&#160;        m_packet.init(tag, flags, m_numArguments);</div><div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160;        m_packet.m_arguments[0] = arg1;</div><div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;        m_packet.m_arguments[1] = arg2;</div><div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;        m_packet.m_arguments[2] = arg3;</div><div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160;    }</div><div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;</div><div class="line"><a name="l00467"></a><span class="lineno"><a class="line" href="classblfwk_1_1_command_packet.html#ac98432b22a7a5b403343e932940d41a3">  467</a></span>&#160;    <a class="code" href="classblfwk_1_1_command_packet.html#ac98432b22a7a5b403343e932940d41a3">CommandPacket</a>(uint8_t tag, uint8_t flags, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4)</div><div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;    {</div><div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;        m_numArguments = 4;</div><div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;        m_packet.init(tag, flags, m_numArguments);</div><div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160;        m_packet.m_arguments[0] = arg1;</div><div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160;        m_packet.m_arguments[1] = arg2;</div><div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160;        m_packet.m_arguments[2] = arg3;</div><div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160;        m_packet.m_arguments[3] = arg4;</div><div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;    }</div><div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;</div><div class="line"><a name="l00478"></a><span class="lineno"><a class="line" href="classblfwk_1_1_command_packet.html#a67ea376edf52a9adbfaddfed0462241a">  478</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_command_packet.html#a67ea376edf52a9adbfaddfed0462241a">getSize</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">sizeof</span>(command_packet_t) + (m_numArguments * <span class="keyword">sizeof</span>(uint32_t)); }</div><div class="line"><a name="l00480"></a><span class="lineno"><a class="line" href="classblfwk_1_1_command_packet.html#a499d19940835d240d93ccf5df343cdf5">  480</a></span>&#160;    <span class="keyword">const</span> uint8_t *<a class="code" href="classblfwk_1_1_command_packet.html#a499d19940835d240d93ccf5df343cdf5">getData</a>() { <span class="keywordflow">return</span> <span class="keyword">reinterpret_cast&lt;</span>uint8_t *<span class="keyword">&gt;</span>(&amp;m_packet.m_header); }</div><div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;    <span class="keyword">const</span> uint8_t *sendCommandGetResponse(<a class="code" href="classblfwk_1_1_packetizer.html">Packetizer</a> &amp;device);</div><div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;</div><div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00487"></a><span class="lineno"><a class="line" href="classblfwk_1_1_command_packet.html#a7f5f4c5cc718477b050ca02fb81ccbbc">  487</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="classblfwk_1_1_command_packet.html#a7f5f4c5cc718477b050ca02fb81ccbbc">m_numArguments</a>;      </div><div class="line"><a name="l00488"></a><span class="lineno"><a class="line" href="classblfwk_1_1_command_packet.html#a042c08cf996d7ee9a967318f7fa599b7">  488</a></span>&#160;    <a class="code" href="structblfwk_1_1_command_packet_1_1_packet_with_args.html">PacketWithArgs</a> <a class="code" href="classblfwk_1_1_command_packet.html#a042c08cf996d7ee9a967318f7fa599b7">m_packet</a>; </div><div class="line"><a name="l00489"></a><span class="lineno">  489</span>&#160;};</div><div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160;</div><div class="line"><a name="l00496"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet.html">  496</a></span>&#160;<span class="keyword">class </span><a class="code" href="classblfwk_1_1_data_packet.html">DataPacket</a></div><div class="line"><a name="l00497"></a><span class="lineno">  497</span>&#160;{</div><div class="line"><a name="l00498"></a><span class="lineno">  498</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00502"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_data_producer.html">  502</a></span>&#160;    <span class="keyword">class </span><a class="code" href="classblfwk_1_1_data_packet_1_1_data_producer.html">DataProducer</a></div><div class="line"><a name="l00503"></a><span class="lineno">  503</span>&#160;    {</div><div class="line"><a name="l00504"></a><span class="lineno">  504</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> hasMoreData() <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;</div><div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160;        <span class="keyword">virtual</span> uint32_t getDataSize() <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160;</div><div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160;        <span class="keyword">virtual</span> uint32_t getData(uint8_t *data, uint32_t size) = 0;</div><div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160;    };</div><div class="line"><a name="l00517"></a><span class="lineno">  517</span>&#160;</div><div class="line"><a name="l00521"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_file_data_producer.html">  521</a></span>&#160;    <span class="keyword">class </span><a class="code" href="classblfwk_1_1_data_packet_1_1_file_data_producer.html">FileDataProducer</a> : <span class="keyword">public</span> <a class="code" href="classblfwk_1_1_data_packet_1_1_data_producer.html">DataProducer</a></div><div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160;    {</div><div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00525"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_file_data_producer.html#a2fa9702fb164af16072525432654248e">  525</a></span>&#160;        <a class="code" href="classblfwk_1_1_data_packet_1_1_file_data_producer.html#a2fa9702fb164af16072525432654248e">FileDataProducer</a>()</div><div class="line"><a name="l00526"></a><span class="lineno">  526</span>&#160;            : m_filePath()</div><div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160;            , m_filePointer(NULL)</div><div class="line"><a name="l00528"></a><span class="lineno">  528</span>&#160;            , m_fileSize(0)</div><div class="line"><a name="l00529"></a><span class="lineno">  529</span>&#160;        {</div><div class="line"><a name="l00530"></a><span class="lineno">  530</span>&#160;        }</div><div class="line"><a name="l00531"></a><span class="lineno">  531</span>&#160;</div><div class="line"><a name="l00533"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_file_data_producer.html#ac0196a3f775f771beccf78341f4a76dd">  533</a></span>&#160;        <span class="keyword">virtual</span> <a class="code" href="classblfwk_1_1_data_packet_1_1_file_data_producer.html#ac0196a3f775f771beccf78341f4a76dd">~FileDataProducer</a>()</div><div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;        {</div><div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160;            <span class="keywordflow">if</span> (m_filePointer)</div><div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160;                fclose(m_filePointer);</div><div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;        }</div><div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;</div><div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160;        <span class="keywordtype">bool</span> init(std::string filePath, uint32_t count);</div><div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160;</div><div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160;</div><div class="line"><a name="l00544"></a><span class="lineno">  544</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> hasMoreData()<span class="keyword"> const</span></div><div class="line"><a name="l00546"></a><span class="lineno">  546</span>&#160;<span class="keyword">        </span>{</div><div class="line"><a name="l00547"></a><span class="lineno">  547</span>&#160;            assert(m_filePointer);</div><div class="line"><a name="l00548"></a><span class="lineno">  548</span>&#160;            <span class="keywordflow">return</span> (m_fileSize &amp;&amp; !feof(m_filePointer));</div><div class="line"><a name="l00549"></a><span class="lineno">  549</span>&#160;        }</div><div class="line"><a name="l00550"></a><span class="lineno">  550</span>&#160;</div><div class="line"><a name="l00552"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_file_data_producer.html#ab0200a89c876c3b61c94f1de4391c00a">  552</a></span>&#160;        <span class="keyword">virtual</span> uint32_t <a class="code" href="classblfwk_1_1_data_packet_1_1_file_data_producer.html#ab0200a89c876c3b61c94f1de4391c00a">getDataSize</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> (uint32_t)m_fileSize; }</div><div class="line"><a name="l00557"></a><span class="lineno">  557</span>&#160;        <span class="keyword">virtual</span> uint32_t getData(uint8_t *data, uint32_t size);</div><div class="line"><a name="l00559"></a><span class="lineno">  559</span>&#160;</div><div class="line"><a name="l00560"></a><span class="lineno">  560</span>&#160;    <span class="keyword">protected</span>:</div><div class="line"><a name="l00561"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_file_data_producer.html#af51e5d76760d84ab2b8e91bf1f23847b">  561</a></span>&#160;        std::string <a class="code" href="classblfwk_1_1_data_packet_1_1_file_data_producer.html#af51e5d76760d84ab2b8e91bf1f23847b">m_filePath</a>; </div><div class="line"><a name="l00562"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_file_data_producer.html#a1a29c163eed198c4848674294923776f">  562</a></span>&#160;        FILE *<a class="code" href="classblfwk_1_1_data_packet_1_1_file_data_producer.html#a1a29c163eed198c4848674294923776f">m_filePointer</a>;    </div><div class="line"><a name="l00563"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_file_data_producer.html#a770c3f701fd5430b321808ee990129a5">  563</a></span>&#160;        <span class="keywordtype">long</span> <a class="code" href="classblfwk_1_1_data_packet_1_1_file_data_producer.html#a770c3f701fd5430b321808ee990129a5">m_fileSize</a>;        </div><div class="line"><a name="l00564"></a><span class="lineno">  564</span>&#160;    };</div><div class="line"><a name="l00565"></a><span class="lineno">  565</span>&#160;</div><div class="line"><a name="l00569"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_hex_data_producer.html">  569</a></span>&#160;    <span class="keyword">class </span><a class="code" href="classblfwk_1_1_data_packet_1_1_hex_data_producer.html">HexDataProducer</a> : <span class="keyword">public</span> <a class="code" href="classblfwk_1_1_data_packet_1_1_data_producer.html">DataProducer</a></div><div class="line"><a name="l00570"></a><span class="lineno">  570</span>&#160;    {</div><div class="line"><a name="l00571"></a><span class="lineno">  571</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00573"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_hex_data_producer.html#adb7430cb76e18ef56a0b7dbff8cb85b4">  573</a></span>&#160;        <a class="code" href="classblfwk_1_1_data_packet_1_1_hex_data_producer.html#adb7430cb76e18ef56a0b7dbff8cb85b4">HexDataProducer</a>()</div><div class="line"><a name="l00574"></a><span class="lineno">  574</span>&#160;            : m_byteIndex(0)</div><div class="line"><a name="l00575"></a><span class="lineno">  575</span>&#160;            , m_data()</div><div class="line"><a name="l00576"></a><span class="lineno">  576</span>&#160;        {</div><div class="line"><a name="l00577"></a><span class="lineno">  577</span>&#160;        }</div><div class="line"><a name="l00578"></a><span class="lineno">  578</span>&#160;</div><div class="line"><a name="l00580"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_hex_data_producer.html#ab3d48c5529a970d1f1a2f8cfaccdb711">  580</a></span>&#160;        <a class="code" href="classblfwk_1_1_data_packet_1_1_hex_data_producer.html#ab3d48c5529a970d1f1a2f8cfaccdb711">HexDataProducer</a>(<span class="keyword">const</span> uchar_vector_t &amp;data)</div><div class="line"><a name="l00581"></a><span class="lineno">  581</span>&#160;            : m_byteIndex(0)</div><div class="line"><a name="l00582"></a><span class="lineno">  582</span>&#160;            , m_data(data)</div><div class="line"><a name="l00583"></a><span class="lineno">  583</span>&#160;        {</div><div class="line"><a name="l00584"></a><span class="lineno">  584</span>&#160;        }</div><div class="line"><a name="l00585"></a><span class="lineno">  585</span>&#160;</div><div class="line"><a name="l00591"></a><span class="lineno">  591</span>&#160;        uint32_t initFromString(<span class="keyword">const</span> std::string hexData);</div><div class="line"><a name="l00592"></a><span class="lineno">  592</span>&#160;</div><div class="line"><a name="l00594"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_hex_data_producer.html#a84c58653a12e725cc28d5a05abdf8f3c">  594</a></span>&#160;        <span class="keyword">virtual</span> <a class="code" href="classblfwk_1_1_data_packet_1_1_hex_data_producer.html#a84c58653a12e725cc28d5a05abdf8f3c">~HexDataProducer</a>() {}</div><div class="line"><a name="l00596"></a><span class="lineno">  596</span>&#160;</div><div class="line"><a name="l00597"></a><span class="lineno">  597</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> hasMoreData()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> (m_byteIndex &lt; m_data.size()); }</div><div class="line"><a name="l00600"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_hex_data_producer.html#a3e22e6fe3b88d3bbe2205f793351aee1">  600</a></span>&#160;        <span class="keyword">virtual</span> uint32_t <a class="code" href="classblfwk_1_1_data_packet_1_1_hex_data_producer.html#a3e22e6fe3b88d3bbe2205f793351aee1">getDataSize</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_data.size(); }</div><div class="line"><a name="l00605"></a><span class="lineno">  605</span>&#160;        <span class="keyword">virtual</span> uint32_t getData(uint8_t *data, uint32_t size);</div><div class="line"><a name="l00607"></a><span class="lineno">  607</span>&#160;</div><div class="line"><a name="l00608"></a><span class="lineno">  608</span>&#160;    <span class="keyword">protected</span>:</div><div class="line"><a name="l00609"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_hex_data_producer.html#ae7da0bf4f8d02201d25d088df93e599b">  609</a></span>&#160;        uint32_t <a class="code" href="classblfwk_1_1_data_packet_1_1_hex_data_producer.html#ae7da0bf4f8d02201d25d088df93e599b">m_byteIndex</a>;  </div><div class="line"><a name="l00610"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_hex_data_producer.html#a289288e7735301ccc28799fba1a496a8">  610</a></span>&#160;        uchar_vector_t <a class="code" href="classblfwk_1_1_data_packet_1_1_hex_data_producer.html#a289288e7735301ccc28799fba1a496a8">m_data</a>; </div><div class="line"><a name="l00611"></a><span class="lineno">  611</span>&#160;    };</div><div class="line"><a name="l00612"></a><span class="lineno">  612</span>&#160;</div><div class="line"><a name="l00616"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_segment_data_producer.html">  616</a></span>&#160;    <span class="keyword">class </span><a class="code" href="classblfwk_1_1_data_packet_1_1_segment_data_producer.html">SegmentDataProducer</a> : <span class="keyword">public</span> <a class="code" href="classblfwk_1_1_data_packet_1_1_data_producer.html">DataProducer</a></div><div class="line"><a name="l00617"></a><span class="lineno">  617</span>&#160;    {</div><div class="line"><a name="l00618"></a><span class="lineno">  618</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00620"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_segment_data_producer.html#a0b97eeb4c4d377d77ecd5772a498086d">  620</a></span>&#160;        <a class="code" href="classblfwk_1_1_data_packet_1_1_segment_data_producer.html#a0b97eeb4c4d377d77ecd5772a498086d">SegmentDataProducer</a>(<a class="code" href="classblfwk_1_1_data_source_1_1_segment.html">blfwk::DataSource::Segment</a> *segment)</div><div class="line"><a name="l00621"></a><span class="lineno">  621</span>&#160;            : m_segment(segment)</div><div class="line"><a name="l00622"></a><span class="lineno">  622</span>&#160;            , m_byteIndex(0)</div><div class="line"><a name="l00623"></a><span class="lineno">  623</span>&#160;        {</div><div class="line"><a name="l00624"></a><span class="lineno">  624</span>&#160;        }</div><div class="line"><a name="l00625"></a><span class="lineno">  625</span>&#160;</div><div class="line"><a name="l00627"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_segment_data_producer.html#aa83d9610c54b8aff1228ed54f2bc5985">  627</a></span>&#160;        <span class="keyword">virtual</span> <a class="code" href="classblfwk_1_1_data_packet_1_1_segment_data_producer.html#aa83d9610c54b8aff1228ed54f2bc5985">~SegmentDataProducer</a>() {}</div><div class="line"><a name="l00629"></a><span class="lineno">  629</span>&#160;        <span class="keywordtype">bool</span> init(std::string filePath);</div><div class="line"><a name="l00630"></a><span class="lineno">  630</span>&#160;</div><div class="line"><a name="l00632"></a><span class="lineno">  632</span>&#160;</div><div class="line"><a name="l00633"></a><span class="lineno">  633</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> hasMoreData()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> (m_byteIndex &lt; m_segment-&gt;getLength()); }</div><div class="line"><a name="l00636"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_segment_data_producer.html#aaf3b6a7286819fd2bdafbde54f2dca58">  636</a></span>&#160;        <span class="keyword">virtual</span> uint32_t <a class="code" href="classblfwk_1_1_data_packet_1_1_segment_data_producer.html#aaf3b6a7286819fd2bdafbde54f2dca58">getDataSize</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_segment-&gt;getLength(); }</div><div class="line"><a name="l00641"></a><span class="lineno">  641</span>&#160;        <span class="keyword">virtual</span> uint32_t getData(uint8_t *data, uint32_t size);</div><div class="line"><a name="l00643"></a><span class="lineno">  643</span>&#160;</div><div class="line"><a name="l00644"></a><span class="lineno">  644</span>&#160;    <span class="keyword">protected</span>:</div><div class="line"><a name="l00645"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_segment_data_producer.html#a1b70ae5d54be0414354e559d71969cbf">  645</a></span>&#160;        <a class="code" href="classblfwk_1_1_data_source_1_1_segment.html">blfwk::DataSource::Segment</a> *<a class="code" href="classblfwk_1_1_data_packet_1_1_segment_data_producer.html#a1b70ae5d54be0414354e559d71969cbf">m_segment</a>; </div><div class="line"><a name="l00646"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_segment_data_producer.html#a86f03eb291293806210588f09443ce54">  646</a></span>&#160;        uint32_t <a class="code" href="classblfwk_1_1_data_packet_1_1_segment_data_producer.html#a86f03eb291293806210588f09443ce54">m_byteIndex</a>;                  </div><div class="line"><a name="l00647"></a><span class="lineno">  647</span>&#160;    };</div><div class="line"><a name="l00648"></a><span class="lineno">  648</span>&#160;</div><div class="line"><a name="l00652"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_data_consumer.html">  652</a></span>&#160;    <span class="keyword">class </span><a class="code" href="classblfwk_1_1_data_packet_1_1_data_consumer.html">DataConsumer</a></div><div class="line"><a name="l00653"></a><span class="lineno">  653</span>&#160;    {</div><div class="line"><a name="l00654"></a><span class="lineno">  654</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00656"></a><span class="lineno">  656</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> processData(<span class="keyword">const</span> uint8_t *data, uint32_t size) = 0;</div><div class="line"><a name="l00657"></a><span class="lineno">  657</span>&#160;</div><div class="line"><a name="l00659"></a><span class="lineno">  659</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> finalize() = 0;</div><div class="line"><a name="l00660"></a><span class="lineno">  660</span>&#160;    };</div><div class="line"><a name="l00661"></a><span class="lineno">  661</span>&#160;</div><div class="line"><a name="l00665"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_file_data_consumer.html">  665</a></span>&#160;    <span class="keyword">class </span><a class="code" href="classblfwk_1_1_data_packet_1_1_file_data_consumer.html">FileDataConsumer</a> : <span class="keyword">public</span> <a class="code" href="classblfwk_1_1_data_packet_1_1_data_consumer.html">DataConsumer</a></div><div class="line"><a name="l00666"></a><span class="lineno">  666</span>&#160;    {</div><div class="line"><a name="l00667"></a><span class="lineno">  667</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00669"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_file_data_consumer.html#a917fa0a8df72ae81af9b8a10b1327bca">  669</a></span>&#160;        <a class="code" href="classblfwk_1_1_data_packet_1_1_file_data_consumer.html#a917fa0a8df72ae81af9b8a10b1327bca">FileDataConsumer</a>()</div><div class="line"><a name="l00670"></a><span class="lineno">  670</span>&#160;            : m_filePath()</div><div class="line"><a name="l00671"></a><span class="lineno">  671</span>&#160;            , m_filePointer(NULL)</div><div class="line"><a name="l00672"></a><span class="lineno">  672</span>&#160;        {</div><div class="line"><a name="l00673"></a><span class="lineno">  673</span>&#160;        }</div><div class="line"><a name="l00674"></a><span class="lineno">  674</span>&#160;</div><div class="line"><a name="l00676"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_file_data_consumer.html#a273c064cf82b5ccc186f519685f9dccc">  676</a></span>&#160;        <span class="keyword">virtual</span> <a class="code" href="classblfwk_1_1_data_packet_1_1_file_data_consumer.html#a273c064cf82b5ccc186f519685f9dccc">~FileDataConsumer</a>()</div><div class="line"><a name="l00677"></a><span class="lineno">  677</span>&#160;        {</div><div class="line"><a name="l00678"></a><span class="lineno">  678</span>&#160;            <span class="keywordflow">if</span> (m_filePointer)</div><div class="line"><a name="l00679"></a><span class="lineno">  679</span>&#160;                fclose(m_filePointer);</div><div class="line"><a name="l00680"></a><span class="lineno">  680</span>&#160;        }</div><div class="line"><a name="l00681"></a><span class="lineno">  681</span>&#160;</div><div class="line"><a name="l00683"></a><span class="lineno">  683</span>&#160;        <span class="keywordtype">bool</span> init(std::string filePath);</div><div class="line"><a name="l00684"></a><span class="lineno">  684</span>&#160;</div><div class="line"><a name="l00686"></a><span class="lineno">  686</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> processData(<span class="keyword">const</span> uint8_t *data, uint32_t size);</div><div class="line"><a name="l00687"></a><span class="lineno">  687</span>&#160;</div><div class="line"><a name="l00689"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_file_data_consumer.html#a17df96dbfad79472fc52f8a29a154ed7">  689</a></span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classblfwk_1_1_data_packet_1_1_file_data_consumer.html#a17df96dbfad79472fc52f8a29a154ed7">finalize</a>() {}</div><div class="line"><a name="l00690"></a><span class="lineno">  690</span>&#160;    <span class="keyword">protected</span>:</div><div class="line"><a name="l00691"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_file_data_consumer.html#af03ebfebc3d50fbc4c073aa99a247007">  691</a></span>&#160;        std::string <a class="code" href="classblfwk_1_1_data_packet_1_1_file_data_consumer.html#af03ebfebc3d50fbc4c073aa99a247007">m_filePath</a>; </div><div class="line"><a name="l00692"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_file_data_consumer.html#af4f2e91dba2f730fce70f7910c434684">  692</a></span>&#160;        FILE *<a class="code" href="classblfwk_1_1_data_packet_1_1_file_data_consumer.html#af4f2e91dba2f730fce70f7910c434684">m_filePointer</a>;    </div><div class="line"><a name="l00693"></a><span class="lineno">  693</span>&#160;    };</div><div class="line"><a name="l00694"></a><span class="lineno">  694</span>&#160;</div><div class="line"><a name="l00698"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_std_out_data_consumer.html">  698</a></span>&#160;    <span class="keyword">class </span><a class="code" href="classblfwk_1_1_data_packet_1_1_std_out_data_consumer.html">StdOutDataConsumer</a> : <span class="keyword">public</span> <a class="code" href="classblfwk_1_1_data_packet_1_1_data_consumer.html">DataConsumer</a></div><div class="line"><a name="l00699"></a><span class="lineno">  699</span>&#160;    {</div><div class="line"><a name="l00700"></a><span class="lineno">  700</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00701"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_std_out_data_consumer.html#a9ea8c08a2e98cd6d31b0921356a3d132">  701</a></span>&#160;        <span class="keyword">enum</span> <a class="code" href="classblfwk_1_1_data_packet_1_1_std_out_data_consumer.html#a9ea8c08a2e98cd6d31b0921356a3d132">_constants</a></div><div class="line"><a name="l00702"></a><span class="lineno">  702</span>&#160;        {</div><div class="line"><a name="l00703"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_std_out_data_consumer.html#a9ea8c08a2e98cd6d31b0921356a3d132a3720846f33c9d57d51b04a8d512a0b5c">  703</a></span>&#160;            kBytesPerLine = 16 </div><div class="line"><a name="l00704"></a><span class="lineno">  704</span>&#160;        };</div><div class="line"><a name="l00705"></a><span class="lineno">  705</span>&#160;</div><div class="line"><a name="l00706"></a><span class="lineno">  706</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00708"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_std_out_data_consumer.html#a9b2000292068b2d37c6047f8b8098c20">  708</a></span>&#160;        <a class="code" href="classblfwk_1_1_data_packet_1_1_std_out_data_consumer.html#a9b2000292068b2d37c6047f8b8098c20">StdOutDataConsumer</a>()</div><div class="line"><a name="l00709"></a><span class="lineno">  709</span>&#160;            : m_currentCount(1)</div><div class="line"><a name="l00710"></a><span class="lineno">  710</span>&#160;        {</div><div class="line"><a name="l00711"></a><span class="lineno">  711</span>&#160;        }</div><div class="line"><a name="l00712"></a><span class="lineno">  712</span>&#160;</div><div class="line"><a name="l00714"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_std_out_data_consumer.html#a35f26e3b16befbe7b268c599d9958c9b">  714</a></span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classblfwk_1_1_data_packet_1_1_std_out_data_consumer.html#a35f26e3b16befbe7b268c599d9958c9b">finalize</a>()</div><div class="line"><a name="l00715"></a><span class="lineno">  715</span>&#160;        {</div><div class="line"><a name="l00716"></a><span class="lineno">  716</span>&#160;            <span class="keywordflow">if</span> (((m_currentCount - 1) % kBytesPerLine) != 0)</div><div class="line"><a name="l00717"></a><span class="lineno">  717</span>&#160;            {</div><div class="line"><a name="l00718"></a><span class="lineno">  718</span>&#160;                <span class="comment">// Fill space to clean the progress text.</span></div><div class="line"><a name="l00719"></a><span class="lineno">  719</span>&#160;                <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = ((m_currentCount - 1) % kBytesPerLine) * 3; i &lt; 9; i++)</div><div class="line"><a name="l00720"></a><span class="lineno">  720</span>&#160;                {</div><div class="line"><a name="l00721"></a><span class="lineno">  721</span>&#160;                    printf(<span class="stringliteral">&quot; &quot;</span>);</div><div class="line"><a name="l00722"></a><span class="lineno">  722</span>&#160;                }</div><div class="line"><a name="l00723"></a><span class="lineno">  723</span>&#160;                printf(<span class="stringliteral">&quot;\n&quot;</span>);</div><div class="line"><a name="l00724"></a><span class="lineno">  724</span>&#160;            }</div><div class="line"><a name="l00725"></a><span class="lineno">  725</span>&#160;        }</div><div class="line"><a name="l00726"></a><span class="lineno">  726</span>&#160;</div><div class="line"><a name="l00728"></a><span class="lineno">  728</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> processData(<span class="keyword">const</span> uint8_t *data, uint32_t size);</div><div class="line"><a name="l00729"></a><span class="lineno">  729</span>&#160;</div><div class="line"><a name="l00730"></a><span class="lineno">  730</span>&#160;    <span class="keyword">protected</span>:</div><div class="line"><a name="l00731"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet_1_1_std_out_data_consumer.html#a43677008f5d0f889768cf4d3ae98824c">  731</a></span>&#160;        uint32_t <a class="code" href="classblfwk_1_1_data_packet_1_1_std_out_data_consumer.html#a43677008f5d0f889768cf4d3ae98824c">m_currentCount</a>; </div><div class="line"><a name="l00732"></a><span class="lineno">  732</span>&#160;    };</div><div class="line"><a name="l00733"></a><span class="lineno">  733</span>&#160;</div><div class="line"><a name="l00734"></a><span class="lineno">  734</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00736"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet.html#ac3c58eed3f22bc481534d58c96e2aff8">  736</a></span>&#160;    <a class="code" href="classblfwk_1_1_data_packet.html#ac3c58eed3f22bc481534d58c96e2aff8">DataPacket</a>(<a class="code" href="classblfwk_1_1_data_packet_1_1_data_producer.html">DataProducer</a> *dataProducer)</div><div class="line"><a name="l00737"></a><span class="lineno">  737</span>&#160;    {</div><div class="line"><a name="l00738"></a><span class="lineno">  738</span>&#160;        assert(dataProducer);</div><div class="line"><a name="l00739"></a><span class="lineno">  739</span>&#160;        m_dataProducer = dataProducer;</div><div class="line"><a name="l00740"></a><span class="lineno">  740</span>&#160;    }</div><div class="line"><a name="l00741"></a><span class="lineno">  741</span>&#160;</div><div class="line"><a name="l00743"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet.html#ae959185de331aca28b7d37ac018ba78e">  743</a></span>&#160;    <a class="code" href="classblfwk_1_1_data_packet.html#ae959185de331aca28b7d37ac018ba78e">DataPacket</a>(<a class="code" href="classblfwk_1_1_data_packet_1_1_data_consumer.html">DataConsumer</a> *dataConsumer)</div><div class="line"><a name="l00744"></a><span class="lineno">  744</span>&#160;    {</div><div class="line"><a name="l00745"></a><span class="lineno">  745</span>&#160;        assert(dataConsumer);</div><div class="line"><a name="l00746"></a><span class="lineno">  746</span>&#160;        m_dataConsumer = dataConsumer;</div><div class="line"><a name="l00747"></a><span class="lineno">  747</span>&#160;    }</div><div class="line"><a name="l00748"></a><span class="lineno">  748</span>&#160;</div><div class="line"><a name="l00752"></a><span class="lineno">  752</span>&#160;    uint8_t *sendTo(<a class="code" href="classblfwk_1_1_packetizer.html">Packetizer</a> &amp;device, uint32_t *bytesWritten, <a class="code" href="classblfwk_1_1_progress.html">Progress</a> *progress);</div><div class="line"><a name="l00753"></a><span class="lineno">  753</span>&#160;</div><div class="line"><a name="l00757"></a><span class="lineno">  757</span>&#160;    uint8_t *receiveFrom(<a class="code" href="classblfwk_1_1_packetizer.html">Packetizer</a> &amp;device, uint32_t *byteCount, <a class="code" href="classblfwk_1_1_progress.html">Progress</a> *progress);</div><div class="line"><a name="l00758"></a><span class="lineno">  758</span>&#160;</div><div class="line"><a name="l00759"></a><span class="lineno">  759</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00760"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet.html#ab5ba6cd0eaac51de22f7dea20db06e0d">  760</a></span>&#160;    <a class="code" href="classblfwk_1_1_data_packet_1_1_data_producer.html">DataProducer</a> *<a class="code" href="classblfwk_1_1_data_packet.html#ab5ba6cd0eaac51de22f7dea20db06e0d">m_dataProducer</a>;           </div><div class="line"><a name="l00761"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet.html#aded94e04d37e645c818ac5934067e4ca">  761</a></span>&#160;    <a class="code" href="classblfwk_1_1_data_packet_1_1_data_consumer.html">DataConsumer</a> *<a class="code" href="classblfwk_1_1_data_packet.html#aded94e04d37e645c818ac5934067e4ca">m_dataConsumer</a>;           </div><div class="line"><a name="l00762"></a><span class="lineno"><a class="line" href="classblfwk_1_1_data_packet.html#a9be86a98ab81a6bd157132f860d28c0b">  762</a></span>&#160;    uint8_t m_packet[kMinPacketBufferSize]; </div><div class="line"><a name="l00763"></a><span class="lineno">  763</span>&#160;};</div><div class="line"><a name="l00764"></a><span class="lineno">  764</span>&#160;</div><div class="line"><a name="l00770"></a><span class="lineno"><a class="line" href="classblfwk_1_1_reset.html">  770</a></span>&#160;<span class="keyword">class </span><a class="code" href="classblfwk_1_1_reset.html">Reset</a> : <span class="keyword">public</span> <a class="code" href="classblfwk_1_1_command.html">Command</a></div><div class="line"><a name="l00771"></a><span class="lineno">  771</span>&#160;{</div><div class="line"><a name="l00772"></a><span class="lineno">  772</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00774"></a><span class="lineno"><a class="line" href="classblfwk_1_1_reset.html#a7c4ead784b295e59cc4c28f1a0d56723">  774</a></span>&#160;    <a class="code" href="classblfwk_1_1_reset.html#a7c4ead784b295e59cc4c28f1a0d56723">Reset</a>(<span class="keyword">const</span> string_vector_t *argv)</div><div class="line"><a name="l00775"></a><span class="lineno">  775</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(argv)</div><div class="line"><a name="l00776"></a><span class="lineno">  776</span>&#160;    {</div><div class="line"><a name="l00777"></a><span class="lineno">  777</span>&#160;    }</div><div class="line"><a name="l00778"></a><span class="lineno">  778</span>&#160;</div><div class="line"><a name="l00780"></a><span class="lineno"><a class="line" href="classblfwk_1_1_reset.html#aa08add4bbd5b19f278de1545471a73f5">  780</a></span>&#160;    <a class="code" href="classblfwk_1_1_reset.html#aa08add4bbd5b19f278de1545471a73f5">Reset</a>()</div><div class="line"><a name="l00781"></a><span class="lineno">  781</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(kCommand_Reset.name)</div><div class="line"><a name="l00782"></a><span class="lineno">  782</span>&#160;    {</div><div class="line"><a name="l00783"></a><span class="lineno">  783</span>&#160;    }</div><div class="line"><a name="l00784"></a><span class="lineno">  784</span>&#160;</div><div class="line"><a name="l00786"></a><span class="lineno">  786</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> init();</div><div class="line"><a name="l00787"></a><span class="lineno">  787</span>&#160;</div><div class="line"><a name="l00789"></a><span class="lineno">  789</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> sendTo(<a class="code" href="classblfwk_1_1_packetizer.html">Packetizer</a> &amp;packetizer);</div><div class="line"><a name="l00790"></a><span class="lineno">  790</span>&#160;</div><div class="line"><a name="l00791"></a><span class="lineno">  791</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00793"></a><span class="lineno"><a class="line" href="classblfwk_1_1_reset.html#aa672bdda403d102d0c0bf3802634233e">  793</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classblfwk_1_1_reset.html#aa672bdda403d102d0c0bf3802634233e">processResponse</a>(<span class="keyword">const</span> uint8_t *packet)</div><div class="line"><a name="l00794"></a><span class="lineno">  794</span>&#160;    {</div><div class="line"><a name="l00795"></a><span class="lineno">  795</span>&#160;        <span class="keywordflow">return</span> Command::processResponse(reinterpret_cast&lt;const generic_response_packet_t *&gt;(packet), kCommandTag_Reset);</div><div class="line"><a name="l00796"></a><span class="lineno">  796</span>&#160;    }</div><div class="line"><a name="l00797"></a><span class="lineno">  797</span>&#160;};</div><div class="line"><a name="l00798"></a><span class="lineno">  798</span>&#160;</div><div class="line"><a name="l00802"></a><span class="lineno"><a class="line" href="classblfwk_1_1_get_property.html">  802</a></span>&#160;<span class="keyword">class </span><a class="code" href="classblfwk_1_1_get_property.html">GetProperty</a> : <span class="keyword">public</span> <a class="code" href="classblfwk_1_1_command.html">Command</a></div><div class="line"><a name="l00803"></a><span class="lineno">  803</span>&#160;{</div><div class="line"><a name="l00804"></a><span class="lineno">  804</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00806"></a><span class="lineno"><a class="line" href="classblfwk_1_1_get_property.html#a6fd65cb73e0e475476c16c3590818135">  806</a></span>&#160;    <a class="code" href="classblfwk_1_1_get_property.html#a6fd65cb73e0e475476c16c3590818135">GetProperty</a>(<span class="keyword">const</span> string_vector_t *argv)</div><div class="line"><a name="l00807"></a><span class="lineno">  807</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(argv)</div><div class="line"><a name="l00808"></a><span class="lineno">  808</span>&#160;        , m_property(kProperty_Invalid.value, kProperty_Invalid.description)</div><div class="line"><a name="l00809"></a><span class="lineno">  809</span>&#160;    {</div><div class="line"><a name="l00810"></a><span class="lineno">  810</span>&#160;    }</div><div class="line"><a name="l00811"></a><span class="lineno">  811</span>&#160;</div><div class="line"><a name="l00813"></a><span class="lineno"><a class="line" href="classblfwk_1_1_get_property.html#a534dafa35ed1b61418c7e59dbaa3c62b">  813</a></span>&#160;    <a class="code" href="classblfwk_1_1_get_property.html#a534dafa35ed1b61418c7e59dbaa3c62b">GetProperty</a>(<a class="code" href="structblfwk_1_1property__t.html">property_t</a> property)</div><div class="line"><a name="l00814"></a><span class="lineno">  814</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(kCommand_GetProperty.name)</div><div class="line"><a name="l00815"></a><span class="lineno">  815</span>&#160;        , m_property(property)</div><div class="line"><a name="l00816"></a><span class="lineno">  816</span>&#160;    {</div><div class="line"><a name="l00817"></a><span class="lineno">  817</span>&#160;        m_argv.push_back(format_string(<span class="stringliteral">&quot;0x%08x&quot;</span>, property.value));</div><div class="line"><a name="l00818"></a><span class="lineno">  818</span>&#160;    }</div><div class="line"><a name="l00819"></a><span class="lineno">  819</span>&#160;</div><div class="line"><a name="l00821"></a><span class="lineno">  821</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> init();</div><div class="line"><a name="l00822"></a><span class="lineno">  822</span>&#160;</div><div class="line"><a name="l00824"></a><span class="lineno">  824</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> sendTo(<a class="code" href="classblfwk_1_1_packetizer.html">Packetizer</a> &amp;packetizer);</div><div class="line"><a name="l00825"></a><span class="lineno">  825</span>&#160;</div><div class="line"><a name="l00826"></a><span class="lineno">  826</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00828"></a><span class="lineno">  828</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> processResponse(<span class="keyword">const</span> get_property_response_packet_t *packet);</div><div class="line"><a name="l00829"></a><span class="lineno">  829</span>&#160;</div><div class="line"><a name="l00831"></a><span class="lineno"><a class="line" href="classblfwk_1_1_get_property.html#ad4a1293704921d937c8f3cbdef12ad21">  831</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classblfwk_1_1_get_property.html#ad4a1293704921d937c8f3cbdef12ad21">processResponse</a>(<span class="keyword">const</span> uint8_t *packet)</div><div class="line"><a name="l00832"></a><span class="lineno">  832</span>&#160;    {</div><div class="line"><a name="l00833"></a><span class="lineno">  833</span>&#160;        <span class="keywordflow">return</span> Command::processResponse(reinterpret_cast&lt;const generic_response_packet_t *&gt;(packet),</div><div class="line"><a name="l00834"></a><span class="lineno">  834</span>&#160;                                        kCommandTag_GetProperty);</div><div class="line"><a name="l00835"></a><span class="lineno">  835</span>&#160;    }</div><div class="line"><a name="l00836"></a><span class="lineno">  836</span>&#160;</div><div class="line"><a name="l00837"></a><span class="lineno">  837</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00838"></a><span class="lineno"><a class="line" href="classblfwk_1_1_get_property.html#a978528e55e3d423e60129cac28196199">  838</a></span>&#160;    <a class="code" href="structblfwk_1_1property__t.html">property_t</a> <a class="code" href="classblfwk_1_1_get_property.html#a978528e55e3d423e60129cac28196199">m_property</a>; </div><div class="line"><a name="l00839"></a><span class="lineno"><a class="line" href="classblfwk_1_1_get_property.html#a6e5606691c2c03e8bde012268cd070ac">  839</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_get_property.html#a6e5606691c2c03e8bde012268cd070ac">m_memoryId</a>;   </div><div class="line"><a name="l00840"></a><span class="lineno">  840</span>&#160;};</div><div class="line"><a name="l00841"></a><span class="lineno">  841</span>&#160;</div><div class="line"><a name="l00845"></a><span class="lineno"><a class="line" href="classblfwk_1_1_set_property.html">  845</a></span>&#160;<span class="keyword">class </span><a class="code" href="classblfwk_1_1_set_property.html">SetProperty</a> : <span class="keyword">public</span> <a class="code" href="classblfwk_1_1_command.html">Command</a></div><div class="line"><a name="l00846"></a><span class="lineno">  846</span>&#160;{</div><div class="line"><a name="l00847"></a><span class="lineno">  847</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00849"></a><span class="lineno"><a class="line" href="classblfwk_1_1_set_property.html#a156f8c268345b8e6cd68d1645ae2a9b4">  849</a></span>&#160;    <a class="code" href="classblfwk_1_1_set_property.html#a156f8c268345b8e6cd68d1645ae2a9b4">SetProperty</a>(<span class="keyword">const</span> string_vector_t *argv)</div><div class="line"><a name="l00850"></a><span class="lineno">  850</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(argv)</div><div class="line"><a name="l00851"></a><span class="lineno">  851</span>&#160;    {</div><div class="line"><a name="l00852"></a><span class="lineno">  852</span>&#160;    }</div><div class="line"><a name="l00853"></a><span class="lineno">  853</span>&#160;</div><div class="line"><a name="l00855"></a><span class="lineno"><a class="line" href="classblfwk_1_1_set_property.html#a403dbbc91dac2f16840d4f6a3848b298">  855</a></span>&#160;    <a class="code" href="classblfwk_1_1_set_property.html#a403dbbc91dac2f16840d4f6a3848b298">SetProperty</a>(<a class="code" href="structblfwk_1_1property__t.html">property_t</a> property, uint32_t value)</div><div class="line"><a name="l00856"></a><span class="lineno">  856</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(kCommand_SetProperty.name)</div><div class="line"><a name="l00857"></a><span class="lineno">  857</span>&#160;        , m_propertyTag(property.value)</div><div class="line"><a name="l00858"></a><span class="lineno">  858</span>&#160;        , m_propertyValue(value)</div><div class="line"><a name="l00859"></a><span class="lineno">  859</span>&#160;    {</div><div class="line"><a name="l00860"></a><span class="lineno">  860</span>&#160;        m_argv.push_back(format_string(<span class="stringliteral">&quot;0x%08x&quot;</span>, property.value));</div><div class="line"><a name="l00861"></a><span class="lineno">  861</span>&#160;        m_argv.push_back(format_string(<span class="stringliteral">&quot;0x%08x&quot;</span>, value));</div><div class="line"><a name="l00862"></a><span class="lineno">  862</span>&#160;    }</div><div class="line"><a name="l00863"></a><span class="lineno">  863</span>&#160;</div><div class="line"><a name="l00865"></a><span class="lineno">  865</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> init();</div><div class="line"><a name="l00866"></a><span class="lineno">  866</span>&#160;</div><div class="line"><a name="l00868"></a><span class="lineno">  868</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> sendTo(<a class="code" href="classblfwk_1_1_packetizer.html">Packetizer</a> &amp;packetizer);</div><div class="line"><a name="l00869"></a><span class="lineno">  869</span>&#160;</div><div class="line"><a name="l00870"></a><span class="lineno">  870</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00872"></a><span class="lineno"><a class="line" href="classblfwk_1_1_set_property.html#ac6301ed2be00f09cf4dcc1e170e1c42f">  872</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classblfwk_1_1_set_property.html#ac6301ed2be00f09cf4dcc1e170e1c42f">processResponse</a>(<span class="keyword">const</span> uint8_t *packet)</div><div class="line"><a name="l00873"></a><span class="lineno">  873</span>&#160;    {</div><div class="line"><a name="l00874"></a><span class="lineno">  874</span>&#160;        <span class="keywordflow">return</span> Command::processResponse(reinterpret_cast&lt;const generic_response_packet_t *&gt;(packet),</div><div class="line"><a name="l00875"></a><span class="lineno">  875</span>&#160;                                        kCommandTag_SetProperty);</div><div class="line"><a name="l00876"></a><span class="lineno">  876</span>&#160;    }</div><div class="line"><a name="l00877"></a><span class="lineno">  877</span>&#160;</div><div class="line"><a name="l00878"></a><span class="lineno">  878</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00879"></a><span class="lineno"><a class="line" href="classblfwk_1_1_set_property.html#a52ba6ac4813c6c47609202253c9b4524">  879</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_set_property.html#a52ba6ac4813c6c47609202253c9b4524">m_propertyTag</a>;   </div><div class="line"><a name="l00880"></a><span class="lineno"><a class="line" href="classblfwk_1_1_set_property.html#aaee8b020e9e73eb9168ee43cb5ac7aa6">  880</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_set_property.html#aaee8b020e9e73eb9168ee43cb5ac7aa6">m_propertyValue</a>; </div><div class="line"><a name="l00881"></a><span class="lineno">  881</span>&#160;};</div><div class="line"><a name="l00882"></a><span class="lineno">  882</span>&#160;</div><div class="line"><a name="l00886"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_erase_region.html">  886</a></span>&#160;<span class="keyword">class </span><a class="code" href="classblfwk_1_1_flash_erase_region.html">FlashEraseRegion</a> : <span class="keyword">public</span> <a class="code" href="classblfwk_1_1_command.html">Command</a></div><div class="line"><a name="l00887"></a><span class="lineno">  887</span>&#160;{</div><div class="line"><a name="l00888"></a><span class="lineno">  888</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00890"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_erase_region.html#ad394128865001ba2c0b4647e6fb628d3">  890</a></span>&#160;    <a class="code" href="classblfwk_1_1_flash_erase_region.html#ad394128865001ba2c0b4647e6fb628d3">FlashEraseRegion</a>(<span class="keyword">const</span> string_vector_t *argv)</div><div class="line"><a name="l00891"></a><span class="lineno">  891</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(argv)</div><div class="line"><a name="l00892"></a><span class="lineno">  892</span>&#160;    {</div><div class="line"><a name="l00893"></a><span class="lineno">  893</span>&#160;    }</div><div class="line"><a name="l00894"></a><span class="lineno">  894</span>&#160;</div><div class="line"><a name="l00896"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_erase_region.html#ac3e4aeaf0d25d38a0c0e7bf023c5eec9">  896</a></span>&#160;    <a class="code" href="classblfwk_1_1_flash_erase_region.html#ac3e4aeaf0d25d38a0c0e7bf023c5eec9">FlashEraseRegion</a>(uint32_t start, uint32_t length)</div><div class="line"><a name="l00897"></a><span class="lineno">  897</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(kCommand_FlashEraseRegion.name)</div><div class="line"><a name="l00898"></a><span class="lineno">  898</span>&#160;        , m_startAddress(start)</div><div class="line"><a name="l00899"></a><span class="lineno">  899</span>&#160;        , m_byteCount(length)</div><div class="line"><a name="l00900"></a><span class="lineno">  900</span>&#160;    {</div><div class="line"><a name="l00901"></a><span class="lineno">  901</span>&#160;        m_argv.push_back(format_string(<span class="stringliteral">&quot;0x%08x&quot;</span>, start));</div><div class="line"><a name="l00902"></a><span class="lineno">  902</span>&#160;        m_argv.push_back(format_string(<span class="stringliteral">&quot;0x%08x&quot;</span>, length));</div><div class="line"><a name="l00903"></a><span class="lineno">  903</span>&#160;    }</div><div class="line"><a name="l00904"></a><span class="lineno">  904</span>&#160;</div><div class="line"><a name="l00906"></a><span class="lineno">  906</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> init();</div><div class="line"><a name="l00907"></a><span class="lineno">  907</span>&#160;</div><div class="line"><a name="l00909"></a><span class="lineno">  909</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> sendTo(<a class="code" href="classblfwk_1_1_packetizer.html">Packetizer</a> &amp;packetizer);</div><div class="line"><a name="l00910"></a><span class="lineno">  910</span>&#160;</div><div class="line"><a name="l00911"></a><span class="lineno">  911</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00913"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_erase_region.html#a6f6f16895a1a41cfc404f26d87713535">  913</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classblfwk_1_1_flash_erase_region.html#a6f6f16895a1a41cfc404f26d87713535">processResponse</a>(<span class="keyword">const</span> uint8_t *packet)</div><div class="line"><a name="l00914"></a><span class="lineno">  914</span>&#160;    {</div><div class="line"><a name="l00915"></a><span class="lineno">  915</span>&#160;        <span class="keywordflow">return</span> Command::processResponse(reinterpret_cast&lt;const generic_response_packet_t *&gt;(packet),</div><div class="line"><a name="l00916"></a><span class="lineno">  916</span>&#160;                                        kCommandTag_FlashEraseRegion);</div><div class="line"><a name="l00917"></a><span class="lineno">  917</span>&#160;    }</div><div class="line"><a name="l00918"></a><span class="lineno">  918</span>&#160;</div><div class="line"><a name="l00919"></a><span class="lineno">  919</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00920"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_erase_region.html#a72edeed4986346eb8a22ef1934bff166">  920</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_flash_erase_region.html#a72edeed4986346eb8a22ef1934bff166">m_startAddress</a>; </div><div class="line"><a name="l00921"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_erase_region.html#adca719546f5838cd60958928c8ec331d">  921</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_flash_erase_region.html#adca719546f5838cd60958928c8ec331d">m_byteCount</a>;    </div><div class="line"><a name="l00922"></a><span class="lineno">  922</span>&#160;};</div><div class="line"><a name="l00923"></a><span class="lineno">  923</span>&#160;</div><div class="line"><a name="l00927"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_erase_all.html">  927</a></span>&#160;<span class="keyword">class </span><a class="code" href="classblfwk_1_1_flash_erase_all.html">FlashEraseAll</a> : <span class="keyword">public</span> <a class="code" href="classblfwk_1_1_command.html">Command</a></div><div class="line"><a name="l00928"></a><span class="lineno">  928</span>&#160;{</div><div class="line"><a name="l00929"></a><span class="lineno">  929</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00931"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_erase_all.html#aa635497fd9585e65889868df0d3aabef">  931</a></span>&#160;    <a class="code" href="classblfwk_1_1_flash_erase_all.html#aa635497fd9585e65889868df0d3aabef">FlashEraseAll</a>(<span class="keyword">const</span> string_vector_t *argv)</div><div class="line"><a name="l00932"></a><span class="lineno">  932</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(argv)</div><div class="line"><a name="l00933"></a><span class="lineno">  933</span>&#160;    {</div><div class="line"><a name="l00934"></a><span class="lineno">  934</span>&#160;    }</div><div class="line"><a name="l00935"></a><span class="lineno">  935</span>&#160;</div><div class="line"><a name="l00937"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_erase_all.html#a5d1c37997c9e6d921a632e6c2a6d94b4">  937</a></span>&#160;    <a class="code" href="classblfwk_1_1_flash_erase_all.html#a5d1c37997c9e6d921a632e6c2a6d94b4">FlashEraseAll</a>(uint32_t memoryId)</div><div class="line"><a name="l00938"></a><span class="lineno">  938</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(kCommand_FlashEraseAll.name)</div><div class="line"><a name="l00939"></a><span class="lineno">  939</span>&#160;        , m_memoryId(memoryId)</div><div class="line"><a name="l00940"></a><span class="lineno">  940</span>&#160;    {</div><div class="line"><a name="l00941"></a><span class="lineno">  941</span>&#160;        m_argv.push_back(format_string(<span class="stringliteral">&quot;%d&quot;</span>, memoryId));</div><div class="line"><a name="l00942"></a><span class="lineno">  942</span>&#160;    }</div><div class="line"><a name="l00943"></a><span class="lineno">  943</span>&#160;</div><div class="line"><a name="l00945"></a><span class="lineno">  945</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> init();</div><div class="line"><a name="l00946"></a><span class="lineno">  946</span>&#160;</div><div class="line"><a name="l00948"></a><span class="lineno">  948</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> sendTo(<a class="code" href="classblfwk_1_1_packetizer.html">Packetizer</a> &amp;packetizer);</div><div class="line"><a name="l00949"></a><span class="lineno">  949</span>&#160;</div><div class="line"><a name="l00950"></a><span class="lineno">  950</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00952"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_erase_all.html#aefaa5e218ebae6eca786b14355f398fd">  952</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classblfwk_1_1_flash_erase_all.html#aefaa5e218ebae6eca786b14355f398fd">processResponse</a>(<span class="keyword">const</span> uint8_t *packet)</div><div class="line"><a name="l00953"></a><span class="lineno">  953</span>&#160;    {</div><div class="line"><a name="l00954"></a><span class="lineno">  954</span>&#160;        <span class="keywordflow">return</span> Command::processResponse(reinterpret_cast&lt;const generic_response_packet_t *&gt;(packet),</div><div class="line"><a name="l00955"></a><span class="lineno">  955</span>&#160;                                        kCommandTag_FlashEraseAll);</div><div class="line"><a name="l00956"></a><span class="lineno">  956</span>&#160;    }</div><div class="line"><a name="l00957"></a><span class="lineno">  957</span>&#160;</div><div class="line"><a name="l00958"></a><span class="lineno">  958</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00959"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_erase_all.html#a5df413e0158275005399d4295a444daf">  959</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_flash_erase_all.html#a5df413e0158275005399d4295a444daf">m_memoryId</a>; </div><div class="line"><a name="l00960"></a><span class="lineno">  960</span>&#160;};</div><div class="line"><a name="l00961"></a><span class="lineno">  961</span>&#160;</div><div class="line"><a name="l00965"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_erase_all_unsecure.html">  965</a></span>&#160;<span class="keyword">class </span><a class="code" href="classblfwk_1_1_flash_erase_all_unsecure.html">FlashEraseAllUnsecure</a> : <span class="keyword">public</span> <a class="code" href="classblfwk_1_1_command.html">Command</a></div><div class="line"><a name="l00966"></a><span class="lineno">  966</span>&#160;{</div><div class="line"><a name="l00967"></a><span class="lineno">  967</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00969"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_erase_all_unsecure.html#a91770a4ef87d67e48315ef608e590a80">  969</a></span>&#160;    <a class="code" href="classblfwk_1_1_flash_erase_all_unsecure.html#a91770a4ef87d67e48315ef608e590a80">FlashEraseAllUnsecure</a>(<span class="keyword">const</span> string_vector_t *argv)</div><div class="line"><a name="l00970"></a><span class="lineno">  970</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(argv)</div><div class="line"><a name="l00971"></a><span class="lineno">  971</span>&#160;    {</div><div class="line"><a name="l00972"></a><span class="lineno">  972</span>&#160;    }</div><div class="line"><a name="l00973"></a><span class="lineno">  973</span>&#160;</div><div class="line"><a name="l00975"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_erase_all_unsecure.html#a7c771eb6ca85651bbcebea1766721d80">  975</a></span>&#160;    <a class="code" href="classblfwk_1_1_flash_erase_all_unsecure.html#a7c771eb6ca85651bbcebea1766721d80">FlashEraseAllUnsecure</a>()</div><div class="line"><a name="l00976"></a><span class="lineno">  976</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(kCommand_GetProperty.name)</div><div class="line"><a name="l00977"></a><span class="lineno">  977</span>&#160;    {</div><div class="line"><a name="l00978"></a><span class="lineno">  978</span>&#160;    }</div><div class="line"><a name="l00979"></a><span class="lineno">  979</span>&#160;</div><div class="line"><a name="l00981"></a><span class="lineno">  981</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> init();</div><div class="line"><a name="l00982"></a><span class="lineno">  982</span>&#160;</div><div class="line"><a name="l00984"></a><span class="lineno">  984</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> sendTo(<a class="code" href="classblfwk_1_1_packetizer.html">Packetizer</a> &amp;packetizer);</div><div class="line"><a name="l00985"></a><span class="lineno">  985</span>&#160;</div><div class="line"><a name="l00986"></a><span class="lineno">  986</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00988"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_erase_all_unsecure.html#a5ec45e3674896a6f1a8ea67806422c5f">  988</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classblfwk_1_1_flash_erase_all_unsecure.html#a5ec45e3674896a6f1a8ea67806422c5f">processResponse</a>(<span class="keyword">const</span> uint8_t *packet)</div><div class="line"><a name="l00989"></a><span class="lineno">  989</span>&#160;    {</div><div class="line"><a name="l00990"></a><span class="lineno">  990</span>&#160;        <span class="keywordflow">return</span> Command::processResponse(reinterpret_cast&lt;const generic_response_packet_t *&gt;(packet),</div><div class="line"><a name="l00991"></a><span class="lineno">  991</span>&#160;                                        kCommandTag_FlashEraseAllUnsecure);</div><div class="line"><a name="l00992"></a><span class="lineno">  992</span>&#160;    }</div><div class="line"><a name="l00993"></a><span class="lineno">  993</span>&#160;};</div><div class="line"><a name="l00994"></a><span class="lineno">  994</span>&#160;</div><div class="line"><a name="l00998"></a><span class="lineno"><a class="line" href="classblfwk_1_1_read_memory.html">  998</a></span>&#160;<span class="keyword">class </span><a class="code" href="classblfwk_1_1_read_memory.html">ReadMemory</a> : <span class="keyword">public</span> <a class="code" href="classblfwk_1_1_command.html">Command</a></div><div class="line"><a name="l00999"></a><span class="lineno">  999</span>&#160;{</div><div class="line"><a name="l01000"></a><span class="lineno"> 1000</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l01002"></a><span class="lineno"><a class="line" href="classblfwk_1_1_read_memory.html#a6a7f2cf84a409d19014a77943f6b2cfa"> 1002</a></span>&#160;    <a class="code" href="classblfwk_1_1_read_memory.html#a6a7f2cf84a409d19014a77943f6b2cfa">ReadMemory</a>(<span class="keyword">const</span> string_vector_t *argv)</div><div class="line"><a name="l01003"></a><span class="lineno"> 1003</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(argv)</div><div class="line"><a name="l01004"></a><span class="lineno"> 1004</span>&#160;        , m_dataFile()</div><div class="line"><a name="l01005"></a><span class="lineno"> 1005</span>&#160;    {</div><div class="line"><a name="l01006"></a><span class="lineno"> 1006</span>&#160;    }</div><div class="line"><a name="l01007"></a><span class="lineno"> 1007</span>&#160;</div><div class="line"><a name="l01009"></a><span class="lineno"> 1009</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> init();</div><div class="line"><a name="l01010"></a><span class="lineno"> 1010</span>&#160;</div><div class="line"><a name="l01012"></a><span class="lineno"> 1012</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> sendTo(<a class="code" href="classblfwk_1_1_packetizer.html">Packetizer</a> &amp;packetizer);</div><div class="line"><a name="l01013"></a><span class="lineno"> 1013</span>&#160;</div><div class="line"><a name="l01014"></a><span class="lineno"> 1014</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l01016"></a><span class="lineno"> 1016</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> processResponse(<span class="keyword">const</span> read_memory_response_packet_t *packet);</div><div class="line"><a name="l01017"></a><span class="lineno"> 1017</span>&#160;</div><div class="line"><a name="l01019"></a><span class="lineno"><a class="line" href="classblfwk_1_1_read_memory.html#a5e7124cf1bc209925c14d389e7b39543"> 1019</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classblfwk_1_1_read_memory.html#a5e7124cf1bc209925c14d389e7b39543">processResponse</a>(<span class="keyword">const</span> uint8_t *packet)</div><div class="line"><a name="l01020"></a><span class="lineno"> 1020</span>&#160;    {</div><div class="line"><a name="l01021"></a><span class="lineno"> 1021</span>&#160;        <span class="keywordflow">return</span> Command::processResponse(reinterpret_cast&lt;const generic_response_packet_t *&gt;(packet),</div><div class="line"><a name="l01022"></a><span class="lineno"> 1022</span>&#160;                                        kCommandTag_ReadMemory);</div><div class="line"><a name="l01023"></a><span class="lineno"> 1023</span>&#160;    }</div><div class="line"><a name="l01024"></a><span class="lineno"> 1024</span>&#160;</div><div class="line"><a name="l01025"></a><span class="lineno"> 1025</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l01026"></a><span class="lineno"><a class="line" href="classblfwk_1_1_read_memory.html#aac5cb95372e4a5ccc96d3baafc43dcbd"> 1026</a></span>&#160;    std::string <a class="code" href="classblfwk_1_1_read_memory.html#aac5cb95372e4a5ccc96d3baafc43dcbd">m_dataFile</a>;  </div><div class="line"><a name="l01027"></a><span class="lineno"><a class="line" href="classblfwk_1_1_read_memory.html#aa01f1ccf2b5bea51d51f6b96c99acc39"> 1027</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_read_memory.html#aa01f1ccf2b5bea51d51f6b96c99acc39">m_startAddress</a>; </div><div class="line"><a name="l01028"></a><span class="lineno"><a class="line" href="classblfwk_1_1_read_memory.html#a32f02116e586cd81cdf43183dc346654"> 1028</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_read_memory.html#a32f02116e586cd81cdf43183dc346654">m_byteCount</a>;    </div><div class="line"><a name="l01029"></a><span class="lineno"> 1029</span>&#160;};</div><div class="line"><a name="l01030"></a><span class="lineno"> 1030</span>&#160;</div><div class="line"><a name="l01034"></a><span class="lineno"><a class="line" href="classblfwk_1_1_write_memory.html"> 1034</a></span>&#160;<span class="keyword">class </span><a class="code" href="classblfwk_1_1_write_memory.html">WriteMemory</a> : <span class="keyword">public</span> <a class="code" href="classblfwk_1_1_command.html">Command</a></div><div class="line"><a name="l01035"></a><span class="lineno"> 1035</span>&#160;{</div><div class="line"><a name="l01036"></a><span class="lineno"> 1036</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l01038"></a><span class="lineno"><a class="line" href="classblfwk_1_1_write_memory.html#a7b8f2582faf279792017112f746b9c8b"> 1038</a></span>&#160;    <a class="code" href="classblfwk_1_1_write_memory.html#a7b8f2582faf279792017112f746b9c8b">WriteMemory</a>(<span class="keyword">const</span> string_vector_t *argv)</div><div class="line"><a name="l01039"></a><span class="lineno"> 1039</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(argv)</div><div class="line"><a name="l01040"></a><span class="lineno"> 1040</span>&#160;        , m_fileOrData()</div><div class="line"><a name="l01041"></a><span class="lineno"> 1041</span>&#160;        , m_segment(NULL)</div><div class="line"><a name="l01042"></a><span class="lineno"> 1042</span>&#160;        , m_startAddress(0)</div><div class="line"><a name="l01043"></a><span class="lineno"> 1043</span>&#160;        , m_count(0)</div><div class="line"><a name="l01044"></a><span class="lineno"> 1044</span>&#160;        , m_data()</div><div class="line"><a name="l01045"></a><span class="lineno"> 1045</span>&#160;    {</div><div class="line"><a name="l01046"></a><span class="lineno"> 1046</span>&#160;    }</div><div class="line"><a name="l01047"></a><span class="lineno"> 1047</span>&#160;</div><div class="line"><a name="l01049"></a><span class="lineno"><a class="line" href="classblfwk_1_1_write_memory.html#a2ddc91635b4f3c454aea302e2e7950d7"> 1049</a></span>&#160;    <a class="code" href="classblfwk_1_1_write_memory.html#a2ddc91635b4f3c454aea302e2e7950d7">WriteMemory</a>(<a class="code" href="classblfwk_1_1_data_source_1_1_segment.html">blfwk::DataSource::Segment</a> *segment)</div><div class="line"><a name="l01050"></a><span class="lineno"> 1050</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(kCommand_WriteMemory.name)</div><div class="line"><a name="l01051"></a><span class="lineno"> 1051</span>&#160;        , m_fileOrData()</div><div class="line"><a name="l01052"></a><span class="lineno"> 1052</span>&#160;        , m_segment(segment)</div><div class="line"><a name="l01053"></a><span class="lineno"> 1053</span>&#160;        , m_count(0)</div><div class="line"><a name="l01054"></a><span class="lineno"> 1054</span>&#160;        , m_data()</div><div class="line"><a name="l01055"></a><span class="lineno"> 1055</span>&#160;    {</div><div class="line"><a name="l01056"></a><span class="lineno"> 1056</span>&#160;        m_startAddress = segment-&gt;<a class="code" href="classblfwk_1_1_data_source_1_1_segment.html#a426897327bc9930ac7291cf7ef80be0e">getBaseAddress</a>();</div><div class="line"><a name="l01057"></a><span class="lineno"> 1057</span>&#160;        m_argv.push_back(format_string(<span class="stringliteral">&quot;0x%08x&quot;</span>, m_startAddress));</div><div class="line"><a name="l01058"></a><span class="lineno"> 1058</span>&#160;        m_argv.push_back(m_fileOrData);</div><div class="line"><a name="l01059"></a><span class="lineno"> 1059</span>&#160;    }</div><div class="line"><a name="l01060"></a><span class="lineno"> 1060</span>&#160;</div><div class="line"><a name="l01062"></a><span class="lineno"><a class="line" href="classblfwk_1_1_write_memory.html#a5359b47e1cd1217861951280066daf11"> 1062</a></span>&#160;    <a class="code" href="classblfwk_1_1_write_memory.html#a5359b47e1cd1217861951280066daf11">WriteMemory</a>(uint32_t address, <span class="keyword">const</span> uchar_vector_t &amp;data)</div><div class="line"><a name="l01063"></a><span class="lineno"> 1063</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(kCommand_WriteMemory.name)</div><div class="line"><a name="l01064"></a><span class="lineno"> 1064</span>&#160;        , m_fileOrData()</div><div class="line"><a name="l01065"></a><span class="lineno"> 1065</span>&#160;        , m_segment(NULL)</div><div class="line"><a name="l01066"></a><span class="lineno"> 1066</span>&#160;        , m_startAddress(address)</div><div class="line"><a name="l01067"></a><span class="lineno"> 1067</span>&#160;        , m_count(0)</div><div class="line"><a name="l01068"></a><span class="lineno"> 1068</span>&#160;        , m_data(data)</div><div class="line"><a name="l01069"></a><span class="lineno"> 1069</span>&#160;    {</div><div class="line"><a name="l01070"></a><span class="lineno"> 1070</span>&#160;        m_argv.push_back(format_string(<span class="stringliteral">&quot;0x%08x&quot;</span>, m_startAddress));</div><div class="line"><a name="l01071"></a><span class="lineno"> 1071</span>&#160;        m_argv.push_back(m_fileOrData);</div><div class="line"><a name="l01072"></a><span class="lineno"> 1072</span>&#160;    }</div><div class="line"><a name="l01073"></a><span class="lineno"> 1073</span>&#160;</div><div class="line"><a name="l01075"></a><span class="lineno"> 1075</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> init();</div><div class="line"><a name="l01076"></a><span class="lineno"> 1076</span>&#160;</div><div class="line"><a name="l01078"></a><span class="lineno"> 1078</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> sendTo(<a class="code" href="classblfwk_1_1_packetizer.html">Packetizer</a> &amp;packetizer);</div><div class="line"><a name="l01079"></a><span class="lineno"> 1079</span>&#160;</div><div class="line"><a name="l01080"></a><span class="lineno"> 1080</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l01082"></a><span class="lineno"><a class="line" href="classblfwk_1_1_write_memory.html#a3e95caf622fc25ada28897a20ffa9fa5"> 1082</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classblfwk_1_1_write_memory.html#a3e95caf622fc25ada28897a20ffa9fa5">processResponse</a>(<span class="keyword">const</span> uint8_t *packet)</div><div class="line"><a name="l01083"></a><span class="lineno"> 1083</span>&#160;    {</div><div class="line"><a name="l01084"></a><span class="lineno"> 1084</span>&#160;        <span class="keywordflow">return</span> Command::processResponse(reinterpret_cast&lt;const generic_response_packet_t *&gt;(packet),</div><div class="line"><a name="l01085"></a><span class="lineno"> 1085</span>&#160;                                        kCommandTag_WriteMemory);</div><div class="line"><a name="l01086"></a><span class="lineno"> 1086</span>&#160;    }</div><div class="line"><a name="l01087"></a><span class="lineno"> 1087</span>&#160;</div><div class="line"><a name="l01088"></a><span class="lineno"> 1088</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l01089"></a><span class="lineno"><a class="line" href="classblfwk_1_1_write_memory.html#a715bfe6c37c33cbd74e54c4f7ba0441b"> 1089</a></span>&#160;    std::string <a class="code" href="classblfwk_1_1_write_memory.html#a715bfe6c37c33cbd74e54c4f7ba0441b">m_fileOrData</a>;              </div><div class="line"><a name="l01090"></a><span class="lineno"><a class="line" href="classblfwk_1_1_write_memory.html#a9c0086f28f4e8c6d73069a8385ebe583"> 1090</a></span>&#160;    <a class="code" href="classblfwk_1_1_data_source_1_1_segment.html">blfwk::DataSource::Segment</a> *<a class="code" href="classblfwk_1_1_write_memory.html#a9c0086f28f4e8c6d73069a8385ebe583">m_segment</a>; </div><div class="line"><a name="l01091"></a><span class="lineno"><a class="line" href="classblfwk_1_1_write_memory.html#a67c473e5df27918c6a79638e1196eca1"> 1091</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_write_memory.html#a67c473e5df27918c6a79638e1196eca1">m_startAddress</a>;               </div><div class="line"><a name="l01092"></a><span class="lineno"><a class="line" href="classblfwk_1_1_write_memory.html#a37907939674ffd3c2fec1918ab26bff1"> 1092</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_write_memory.html#a37907939674ffd3c2fec1918ab26bff1">m_count</a>;                      </div><div class="line"><a name="l01093"></a><span class="lineno"><a class="line" href="classblfwk_1_1_write_memory.html#ad4136995db954a0d2fa91f2779cf57a0"> 1093</a></span>&#160;    uchar_vector_t <a class="code" href="classblfwk_1_1_write_memory.html#ad4136995db954a0d2fa91f2779cf57a0">m_data</a>;                 </div><div class="line"><a name="l01094"></a><span class="lineno"> 1094</span>&#160;};</div><div class="line"><a name="l01095"></a><span class="lineno"> 1095</span>&#160;</div><div class="line"><a name="l01099"></a><span class="lineno"><a class="line" href="classblfwk_1_1_fill_memory.html"> 1099</a></span>&#160;<span class="keyword">class </span><a class="code" href="classblfwk_1_1_fill_memory.html">FillMemory</a> : <span class="keyword">public</span> <a class="code" href="classblfwk_1_1_command.html">Command</a></div><div class="line"><a name="l01100"></a><span class="lineno"> 1100</span>&#160;{</div><div class="line"><a name="l01101"></a><span class="lineno"> 1101</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l01103"></a><span class="lineno"><a class="line" href="classblfwk_1_1_fill_memory.html#ae7eb08b519fbc7f3598ea4530cdfd7fb"> 1103</a></span>&#160;    <a class="code" href="classblfwk_1_1_fill_memory.html#ae7eb08b519fbc7f3598ea4530cdfd7fb">FillMemory</a>(<span class="keyword">const</span> string_vector_t *argv)</div><div class="line"><a name="l01104"></a><span class="lineno"> 1104</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(argv)</div><div class="line"><a name="l01105"></a><span class="lineno"> 1105</span>&#160;    {</div><div class="line"><a name="l01106"></a><span class="lineno"> 1106</span>&#160;    }</div><div class="line"><a name="l01107"></a><span class="lineno"> 1107</span>&#160;</div><div class="line"><a name="l01109"></a><span class="lineno"> 1109</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> init();</div><div class="line"><a name="l01110"></a><span class="lineno"> 1110</span>&#160;</div><div class="line"><a name="l01112"></a><span class="lineno"> 1112</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> sendTo(<a class="code" href="classblfwk_1_1_packetizer.html">Packetizer</a> &amp;packetizer);</div><div class="line"><a name="l01113"></a><span class="lineno"> 1113</span>&#160;</div><div class="line"><a name="l01114"></a><span class="lineno"> 1114</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l01116"></a><span class="lineno"><a class="line" href="classblfwk_1_1_fill_memory.html#a1de343fb65656c4cd6f2531ea982ef88"> 1116</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classblfwk_1_1_fill_memory.html#a1de343fb65656c4cd6f2531ea982ef88">processResponse</a>(<span class="keyword">const</span> uint8_t *packet)</div><div class="line"><a name="l01117"></a><span class="lineno"> 1117</span>&#160;    {</div><div class="line"><a name="l01118"></a><span class="lineno"> 1118</span>&#160;        <span class="keywordflow">return</span> Command::processResponse(reinterpret_cast&lt;const generic_response_packet_t *&gt;(packet),</div><div class="line"><a name="l01119"></a><span class="lineno"> 1119</span>&#160;                                        kCommandTag_FillMemory);</div><div class="line"><a name="l01120"></a><span class="lineno"> 1120</span>&#160;    }</div><div class="line"><a name="l01121"></a><span class="lineno"> 1121</span>&#160;</div><div class="line"><a name="l01122"></a><span class="lineno"> 1122</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l01123"></a><span class="lineno"><a class="line" href="classblfwk_1_1_fill_memory.html#a83cdcf5d33c2c61f92d8c7259ab3d4c9"> 1123</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_fill_memory.html#a83cdcf5d33c2c61f92d8c7259ab3d4c9">m_startAddress</a>; </div><div class="line"><a name="l01124"></a><span class="lineno"><a class="line" href="classblfwk_1_1_fill_memory.html#a0305c313dfaa686d424fc04901ce1d8a"> 1124</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_fill_memory.html#a0305c313dfaa686d424fc04901ce1d8a">m_byteCount</a>;    </div><div class="line"><a name="l01125"></a><span class="lineno"><a class="line" href="classblfwk_1_1_fill_memory.html#a4e2b2698d3aa6f5268f5e2f41b5479e1"> 1125</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_fill_memory.html#a4e2b2698d3aa6f5268f5e2f41b5479e1">m_patternWord</a>;  </div><div class="line"><a name="l01126"></a><span class="lineno"> 1126</span>&#160;};</div><div class="line"><a name="l01127"></a><span class="lineno"> 1127</span>&#160;</div><div class="line"><a name="l01131"></a><span class="lineno"><a class="line" href="classblfwk_1_1_receive_sb_file.html"> 1131</a></span>&#160;<span class="keyword">class </span><a class="code" href="classblfwk_1_1_receive_sb_file.html">ReceiveSbFile</a> : <span class="keyword">public</span> <a class="code" href="classblfwk_1_1_command.html">Command</a></div><div class="line"><a name="l01132"></a><span class="lineno"> 1132</span>&#160;{</div><div class="line"><a name="l01133"></a><span class="lineno"> 1133</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l01135"></a><span class="lineno"><a class="line" href="classblfwk_1_1_receive_sb_file.html#adffd388d84187436d895c77c960d165e"> 1135</a></span>&#160;    <a class="code" href="classblfwk_1_1_receive_sb_file.html#adffd388d84187436d895c77c960d165e">ReceiveSbFile</a>(<span class="keyword">const</span> string_vector_t *argv)</div><div class="line"><a name="l01136"></a><span class="lineno"> 1136</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(argv)</div><div class="line"><a name="l01137"></a><span class="lineno"> 1137</span>&#160;        , m_dataFile()</div><div class="line"><a name="l01138"></a><span class="lineno"> 1138</span>&#160;    {</div><div class="line"><a name="l01139"></a><span class="lineno"> 1139</span>&#160;    }</div><div class="line"><a name="l01140"></a><span class="lineno"> 1140</span>&#160;</div><div class="line"><a name="l01142"></a><span class="lineno"><a class="line" href="classblfwk_1_1_receive_sb_file.html#a8352c95e91f8e0e477080ff0d6f1c025"> 1142</a></span>&#160;    <a class="code" href="classblfwk_1_1_receive_sb_file.html#a8352c95e91f8e0e477080ff0d6f1c025">ReceiveSbFile</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *<span class="keyword">const</span> filename)</div><div class="line"><a name="l01143"></a><span class="lineno"> 1143</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(kCommand_ReceiveSbFile.name)</div><div class="line"><a name="l01144"></a><span class="lineno"> 1144</span>&#160;        , m_dataFile(filename)</div><div class="line"><a name="l01145"></a><span class="lineno"> 1145</span>&#160;    {</div><div class="line"><a name="l01146"></a><span class="lineno"> 1146</span>&#160;    }</div><div class="line"><a name="l01147"></a><span class="lineno"> 1147</span>&#160;</div><div class="line"><a name="l01149"></a><span class="lineno"> 1149</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> init();</div><div class="line"><a name="l01150"></a><span class="lineno"> 1150</span>&#160;</div><div class="line"><a name="l01152"></a><span class="lineno"> 1152</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> sendTo(<a class="code" href="classblfwk_1_1_packetizer.html">Packetizer</a> &amp;packetizer);</div><div class="line"><a name="l01153"></a><span class="lineno"> 1153</span>&#160;</div><div class="line"><a name="l01154"></a><span class="lineno"> 1154</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l01156"></a><span class="lineno"><a class="line" href="classblfwk_1_1_receive_sb_file.html#afb00564d8bdfee2d93fdaa7e1c3df3b6"> 1156</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classblfwk_1_1_receive_sb_file.html#afb00564d8bdfee2d93fdaa7e1c3df3b6">processResponse</a>(<span class="keyword">const</span> uint8_t *packet)</div><div class="line"><a name="l01157"></a><span class="lineno"> 1157</span>&#160;    {</div><div class="line"><a name="l01158"></a><span class="lineno"> 1158</span>&#160;        <span class="keywordflow">return</span> Command::processResponse(reinterpret_cast&lt;const generic_response_packet_t *&gt;(packet),</div><div class="line"><a name="l01159"></a><span class="lineno"> 1159</span>&#160;                                        kCommandTag_ReceiveSbFile);</div><div class="line"><a name="l01160"></a><span class="lineno"> 1160</span>&#160;    }</div><div class="line"><a name="l01161"></a><span class="lineno"> 1161</span>&#160;</div><div class="line"><a name="l01162"></a><span class="lineno"> 1162</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l01163"></a><span class="lineno"><a class="line" href="classblfwk_1_1_receive_sb_file.html#a32d484e8cb3868706c6cbb213d9ee5ff"> 1163</a></span>&#160;    std::string <a class="code" href="classblfwk_1_1_receive_sb_file.html#a32d484e8cb3868706c6cbb213d9ee5ff">m_dataFile</a>; </div><div class="line"><a name="l01164"></a><span class="lineno"> 1164</span>&#160;};</div><div class="line"><a name="l01165"></a><span class="lineno"> 1165</span>&#160;</div><div class="line"><a name="l01169"></a><span class="lineno"><a class="line" href="classblfwk_1_1_execute.html"> 1169</a></span>&#160;<span class="keyword">class </span><a class="code" href="classblfwk_1_1_execute.html">Execute</a> : <span class="keyword">public</span> <a class="code" href="classblfwk_1_1_command.html">Command</a></div><div class="line"><a name="l01170"></a><span class="lineno"> 1170</span>&#160;{</div><div class="line"><a name="l01171"></a><span class="lineno"> 1171</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l01173"></a><span class="lineno"><a class="line" href="classblfwk_1_1_execute.html#ae3c8a03ea8048e1597cd95e681f76583"> 1173</a></span>&#160;    <a class="code" href="classblfwk_1_1_execute.html#ae3c8a03ea8048e1597cd95e681f76583">Execute</a>(<span class="keyword">const</span> string_vector_t *argv)</div><div class="line"><a name="l01174"></a><span class="lineno"> 1174</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(argv)</div><div class="line"><a name="l01175"></a><span class="lineno"> 1175</span>&#160;    {</div><div class="line"><a name="l01176"></a><span class="lineno"> 1176</span>&#160;    }</div><div class="line"><a name="l01177"></a><span class="lineno"> 1177</span>&#160;</div><div class="line"><a name="l01179"></a><span class="lineno"><a class="line" href="classblfwk_1_1_execute.html#a7db76925b902a2294eb38b607fc29518"> 1179</a></span>&#160;    <a class="code" href="classblfwk_1_1_execute.html#a7db76925b902a2294eb38b607fc29518">Execute</a>(uint32_t entry_point, uint32_t param, uint32_t stack_pointer)</div><div class="line"><a name="l01180"></a><span class="lineno"> 1180</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(kCommand_Execute.name)</div><div class="line"><a name="l01181"></a><span class="lineno"> 1181</span>&#160;        , m_jumpAddress(entry_point)</div><div class="line"><a name="l01182"></a><span class="lineno"> 1182</span>&#160;        , m_wordArgument(param)</div><div class="line"><a name="l01183"></a><span class="lineno"> 1183</span>&#160;        , m_stackpointer(stack_pointer)</div><div class="line"><a name="l01184"></a><span class="lineno"> 1184</span>&#160;    {</div><div class="line"><a name="l01185"></a><span class="lineno"> 1185</span>&#160;        m_argv.push_back(format_string(<span class="stringliteral">&quot;0x%08x&quot;</span>, entry_point));</div><div class="line"><a name="l01186"></a><span class="lineno"> 1186</span>&#160;        m_argv.push_back(format_string(<span class="stringliteral">&quot;0x%08x&quot;</span>, param));</div><div class="line"><a name="l01187"></a><span class="lineno"> 1187</span>&#160;        m_argv.push_back(format_string(<span class="stringliteral">&quot;0x%08x&quot;</span>, stack_pointer));</div><div class="line"><a name="l01188"></a><span class="lineno"> 1188</span>&#160;    }</div><div class="line"><a name="l01189"></a><span class="lineno"> 1189</span>&#160;</div><div class="line"><a name="l01191"></a><span class="lineno"> 1191</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> init();</div><div class="line"><a name="l01192"></a><span class="lineno"> 1192</span>&#160;</div><div class="line"><a name="l01194"></a><span class="lineno"> 1194</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> sendTo(<a class="code" href="classblfwk_1_1_packetizer.html">Packetizer</a> &amp;packetizer);</div><div class="line"><a name="l01195"></a><span class="lineno"> 1195</span>&#160;</div><div class="line"><a name="l01196"></a><span class="lineno"> 1196</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l01198"></a><span class="lineno"><a class="line" href="classblfwk_1_1_execute.html#a66453e35b91f3f7dcaac44ae5f0e6996"> 1198</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classblfwk_1_1_execute.html#a66453e35b91f3f7dcaac44ae5f0e6996">processResponse</a>(<span class="keyword">const</span> uint8_t *packet)</div><div class="line"><a name="l01199"></a><span class="lineno"> 1199</span>&#160;    {</div><div class="line"><a name="l01200"></a><span class="lineno"> 1200</span>&#160;        <span class="keywordflow">return</span> Command::processResponse(reinterpret_cast&lt;const generic_response_packet_t *&gt;(packet),</div><div class="line"><a name="l01201"></a><span class="lineno"> 1201</span>&#160;                                        kCommandTag_Execute);</div><div class="line"><a name="l01202"></a><span class="lineno"> 1202</span>&#160;    }</div><div class="line"><a name="l01203"></a><span class="lineno"> 1203</span>&#160;</div><div class="line"><a name="l01204"></a><span class="lineno"> 1204</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l01205"></a><span class="lineno"><a class="line" href="classblfwk_1_1_execute.html#a4948fb9213122bb8b4eca830c975cb24"> 1205</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_execute.html#a4948fb9213122bb8b4eca830c975cb24">m_jumpAddress</a>;  </div><div class="line"><a name="l01206"></a><span class="lineno"><a class="line" href="classblfwk_1_1_execute.html#a577eccac5a7d73c6ddc9ecfae0cbd3c4"> 1206</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_execute.html#a577eccac5a7d73c6ddc9ecfae0cbd3c4">m_wordArgument</a>; </div><div class="line"><a name="l01207"></a><span class="lineno"><a class="line" href="classblfwk_1_1_execute.html#a610994f12ac7a0c6762725a3c416080f"> 1207</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_execute.html#a610994f12ac7a0c6762725a3c416080f">m_stackpointer</a>; </div><div class="line"><a name="l01208"></a><span class="lineno"> 1208</span>&#160;};</div><div class="line"><a name="l01209"></a><span class="lineno"> 1209</span>&#160;</div><div class="line"><a name="l01213"></a><span class="lineno"><a class="line" href="classblfwk_1_1_call.html"> 1213</a></span>&#160;<span class="keyword">class </span><a class="code" href="classblfwk_1_1_call.html">Call</a> : <span class="keyword">public</span> <a class="code" href="classblfwk_1_1_command.html">Command</a></div><div class="line"><a name="l01214"></a><span class="lineno"> 1214</span>&#160;{</div><div class="line"><a name="l01215"></a><span class="lineno"> 1215</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l01217"></a><span class="lineno"><a class="line" href="classblfwk_1_1_call.html#a5fe59a4ce305c12dd72f39acc3b989b0"> 1217</a></span>&#160;    <a class="code" href="classblfwk_1_1_call.html#a5fe59a4ce305c12dd72f39acc3b989b0">Call</a>(<span class="keyword">const</span> string_vector_t *argv)</div><div class="line"><a name="l01218"></a><span class="lineno"> 1218</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(argv)</div><div class="line"><a name="l01219"></a><span class="lineno"> 1219</span>&#160;    {</div><div class="line"><a name="l01220"></a><span class="lineno"> 1220</span>&#160;    }</div><div class="line"><a name="l01221"></a><span class="lineno"> 1221</span>&#160;</div><div class="line"><a name="l01223"></a><span class="lineno"> 1223</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> init();</div><div class="line"><a name="l01224"></a><span class="lineno"> 1224</span>&#160;</div><div class="line"><a name="l01226"></a><span class="lineno"> 1226</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> sendTo(<a class="code" href="classblfwk_1_1_packetizer.html">Packetizer</a> &amp;packetizer);</div><div class="line"><a name="l01227"></a><span class="lineno"> 1227</span>&#160;</div><div class="line"><a name="l01228"></a><span class="lineno"> 1228</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l01230"></a><span class="lineno"><a class="line" href="classblfwk_1_1_call.html#a5b000cd4afc0d07dbbf23198ad401bfa"> 1230</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classblfwk_1_1_call.html#a5b000cd4afc0d07dbbf23198ad401bfa">processResponse</a>(<span class="keyword">const</span> uint8_t *packet)</div><div class="line"><a name="l01231"></a><span class="lineno"> 1231</span>&#160;    {</div><div class="line"><a name="l01232"></a><span class="lineno"> 1232</span>&#160;        <span class="keywordflow">return</span> Command::processResponse(reinterpret_cast&lt;const generic_response_packet_t *&gt;(packet), kCommandTag_Call);</div><div class="line"><a name="l01233"></a><span class="lineno"> 1233</span>&#160;    }</div><div class="line"><a name="l01234"></a><span class="lineno"> 1234</span>&#160;</div><div class="line"><a name="l01235"></a><span class="lineno"> 1235</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l01236"></a><span class="lineno"><a class="line" href="classblfwk_1_1_call.html#a527ee13502429e2497274912de0e686f"> 1236</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_call.html#a527ee13502429e2497274912de0e686f">m_callAddress</a>;  </div><div class="line"><a name="l01237"></a><span class="lineno"><a class="line" href="classblfwk_1_1_call.html#aac2d1537151c465fb07fea6d683cf58a"> 1237</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_call.html#aac2d1537151c465fb07fea6d683cf58a">m_wordArgument</a>; </div><div class="line"><a name="l01238"></a><span class="lineno"> 1238</span>&#160;};</div><div class="line"><a name="l01239"></a><span class="lineno"> 1239</span>&#160;</div><div class="line"><a name="l01243"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_security_disable.html"> 1243</a></span>&#160;<span class="keyword">class </span><a class="code" href="classblfwk_1_1_flash_security_disable.html">FlashSecurityDisable</a> : <span class="keyword">public</span> <a class="code" href="classblfwk_1_1_command.html">Command</a></div><div class="line"><a name="l01244"></a><span class="lineno"> 1244</span>&#160;{</div><div class="line"><a name="l01245"></a><span class="lineno"> 1245</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l01247"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_security_disable.html#af7a707ade051a353c24a6debd8b7387c"> 1247</a></span>&#160;    <a class="code" href="classblfwk_1_1_flash_security_disable.html#af7a707ade051a353c24a6debd8b7387c">FlashSecurityDisable</a>(<span class="keyword">const</span> string_vector_t *argv)</div><div class="line"><a name="l01248"></a><span class="lineno"> 1248</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(argv)</div><div class="line"><a name="l01249"></a><span class="lineno"> 1249</span>&#160;    {</div><div class="line"><a name="l01250"></a><span class="lineno"> 1250</span>&#160;    }</div><div class="line"><a name="l01251"></a><span class="lineno"> 1251</span>&#160;</div><div class="line"><a name="l01253"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_security_disable.html#a7d0ce6f4ca9600c945dc0282db4a51bb"> 1253</a></span>&#160;    <a class="code" href="classblfwk_1_1_flash_security_disable.html#a7d0ce6f4ca9600c945dc0282db4a51bb">FlashSecurityDisable</a>(uint32_t keyHigh, uint32_t keyLow)</div><div class="line"><a name="l01254"></a><span class="lineno"> 1254</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(kCommand_FlashSecurityDisable.name)</div><div class="line"><a name="l01255"></a><span class="lineno"> 1255</span>&#160;        , m_keyHigh(keyHigh)</div><div class="line"><a name="l01256"></a><span class="lineno"> 1256</span>&#160;        , m_keyLow(keyLow)</div><div class="line"><a name="l01257"></a><span class="lineno"> 1257</span>&#160;    {</div><div class="line"><a name="l01258"></a><span class="lineno"> 1258</span>&#160;    }</div><div class="line"><a name="l01259"></a><span class="lineno"> 1259</span>&#160;</div><div class="line"><a name="l01261"></a><span class="lineno"> 1261</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> init();</div><div class="line"><a name="l01262"></a><span class="lineno"> 1262</span>&#160;</div><div class="line"><a name="l01264"></a><span class="lineno"> 1264</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> sendTo(<a class="code" href="classblfwk_1_1_packetizer.html">Packetizer</a> &amp;packetizer);</div><div class="line"><a name="l01265"></a><span class="lineno"> 1265</span>&#160;</div><div class="line"><a name="l01266"></a><span class="lineno"> 1266</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l01268"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_security_disable.html#a454eb28fec7c95a8f66ac4ace7c1f9aa"> 1268</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classblfwk_1_1_flash_security_disable.html#a454eb28fec7c95a8f66ac4ace7c1f9aa">processResponse</a>(<span class="keyword">const</span> uint8_t *packet)</div><div class="line"><a name="l01269"></a><span class="lineno"> 1269</span>&#160;    {</div><div class="line"><a name="l01270"></a><span class="lineno"> 1270</span>&#160;        <span class="keywordflow">return</span> Command::processResponse(reinterpret_cast&lt;const generic_response_packet_t *&gt;(packet),</div><div class="line"><a name="l01271"></a><span class="lineno"> 1271</span>&#160;                                        kCommandTag_FlashSecurityDisable);</div><div class="line"><a name="l01272"></a><span class="lineno"> 1272</span>&#160;    }</div><div class="line"><a name="l01273"></a><span class="lineno"> 1273</span>&#160;</div><div class="line"><a name="l01274"></a><span class="lineno"> 1274</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l01275"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_security_disable.html#a398c43fe5b75796c76fbb93616e9433f"> 1275</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_flash_security_disable.html#a398c43fe5b75796c76fbb93616e9433f">m_keyLow</a>;  </div><div class="line"><a name="l01276"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_security_disable.html#a9a9bd8b9e0f8b38b82bd697efdf98fdf"> 1276</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_flash_security_disable.html#a9a9bd8b9e0f8b38b82bd697efdf98fdf">m_keyHigh</a>; </div><div class="line"><a name="l01277"></a><span class="lineno"> 1277</span>&#160;};</div><div class="line"><a name="l01278"></a><span class="lineno"> 1278</span>&#160;</div><div class="line"><a name="l01282"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_program_once.html"> 1282</a></span>&#160;<span class="keyword">class </span><a class="code" href="classblfwk_1_1_flash_program_once.html">FlashProgramOnce</a> : <span class="keyword">public</span> <a class="code" href="classblfwk_1_1_command.html">Command</a></div><div class="line"><a name="l01283"></a><span class="lineno"> 1283</span>&#160;{</div><div class="line"><a name="l01284"></a><span class="lineno"> 1284</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l01286"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_program_once.html#a67efa476c8ecbeb26d329badf1daff7f"> 1286</a></span>&#160;    <a class="code" href="classblfwk_1_1_flash_program_once.html#a67efa476c8ecbeb26d329badf1daff7f">FlashProgramOnce</a>(<span class="keyword">const</span> string_vector_t *argv)</div><div class="line"><a name="l01287"></a><span class="lineno"> 1287</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(argv)</div><div class="line"><a name="l01288"></a><span class="lineno"> 1288</span>&#160;    {</div><div class="line"><a name="l01289"></a><span class="lineno"> 1289</span>&#160;    }</div><div class="line"><a name="l01290"></a><span class="lineno"> 1290</span>&#160;</div><div class="line"><a name="l01292"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_program_once.html#ac72aad06fafd263f9deb3813f124c329"> 1292</a></span>&#160;    <a class="code" href="classblfwk_1_1_flash_program_once.html#ac72aad06fafd263f9deb3813f124c329">FlashProgramOnce</a>(uint32_t index, uint32_t byteCount, uint32_t dataLow, uint32_t dataHigh)</div><div class="line"><a name="l01293"></a><span class="lineno"> 1293</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(kCommand_FlashProgramOnce.name)</div><div class="line"><a name="l01294"></a><span class="lineno"> 1294</span>&#160;        , m_index(index)</div><div class="line"><a name="l01295"></a><span class="lineno"> 1295</span>&#160;        , m_byteCount(byteCount)</div><div class="line"><a name="l01296"></a><span class="lineno"> 1296</span>&#160;        , m_dataLow(dataLow)</div><div class="line"><a name="l01297"></a><span class="lineno"> 1297</span>&#160;        , m_dataHigh(dataHigh)</div><div class="line"><a name="l01298"></a><span class="lineno"> 1298</span>&#160;    {</div><div class="line"><a name="l01299"></a><span class="lineno"> 1299</span>&#160;    }</div><div class="line"><a name="l01300"></a><span class="lineno"> 1300</span>&#160;</div><div class="line"><a name="l01302"></a><span class="lineno"> 1302</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> init();</div><div class="line"><a name="l01303"></a><span class="lineno"> 1303</span>&#160;</div><div class="line"><a name="l01305"></a><span class="lineno"> 1305</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> sendTo(<a class="code" href="classblfwk_1_1_packetizer.html">Packetizer</a> &amp;packetizer);</div><div class="line"><a name="l01306"></a><span class="lineno"> 1306</span>&#160;</div><div class="line"><a name="l01307"></a><span class="lineno"> 1307</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l01309"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_program_once.html#a779a2848d92b1f223ffb88b24adbf8a2"> 1309</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classblfwk_1_1_flash_program_once.html#a779a2848d92b1f223ffb88b24adbf8a2">processResponse</a>(<span class="keyword">const</span> uint8_t *packet)</div><div class="line"><a name="l01310"></a><span class="lineno"> 1310</span>&#160;    {</div><div class="line"><a name="l01311"></a><span class="lineno"> 1311</span>&#160;        <span class="keywordflow">return</span> Command::processResponse(reinterpret_cast&lt;const generic_response_packet_t *&gt;(packet),</div><div class="line"><a name="l01312"></a><span class="lineno"> 1312</span>&#160;                                        kCommandTag_FlashProgramOnce);</div><div class="line"><a name="l01313"></a><span class="lineno"> 1313</span>&#160;    }</div><div class="line"><a name="l01314"></a><span class="lineno"> 1314</span>&#160;</div><div class="line"><a name="l01315"></a><span class="lineno"> 1315</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l01316"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_program_once.html#a90ed02b50f81cc38e282ff495cde6a7d"> 1316</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_flash_program_once.html#a90ed02b50f81cc38e282ff495cde6a7d">m_index</a>;     </div><div class="line"><a name="l01317"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_program_once.html#a03dba34843ffd22316d6a2f56475f14e"> 1317</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_flash_program_once.html#a03dba34843ffd22316d6a2f56475f14e">m_byteCount</a>; </div><div class="line"><a name="l01318"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_program_once.html#a905343a51e2859a833cb58eaf3e464f8"> 1318</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_flash_program_once.html#a905343a51e2859a833cb58eaf3e464f8">m_dataLow</a>;   </div><div class="line"><a name="l01319"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_program_once.html#a2d462c69ce0863fe7500399440d24108"> 1319</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_flash_program_once.html#a2d462c69ce0863fe7500399440d24108">m_dataHigh</a>;  </div><div class="line"><a name="l01320"></a><span class="lineno"> 1320</span>&#160;};</div><div class="line"><a name="l01321"></a><span class="lineno"> 1321</span>&#160;</div><div class="line"><a name="l01325"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_read_once.html"> 1325</a></span>&#160;<span class="keyword">class </span><a class="code" href="classblfwk_1_1_flash_read_once.html">FlashReadOnce</a> : <span class="keyword">public</span> <a class="code" href="classblfwk_1_1_command.html">Command</a></div><div class="line"><a name="l01326"></a><span class="lineno"> 1326</span>&#160;{</div><div class="line"><a name="l01327"></a><span class="lineno"> 1327</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l01329"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_read_once.html#a1fbe5ff7c75c7941f39eb8e7c5111607"> 1329</a></span>&#160;    <a class="code" href="classblfwk_1_1_flash_read_once.html#a1fbe5ff7c75c7941f39eb8e7c5111607">FlashReadOnce</a>(<span class="keyword">const</span> string_vector_t *argv)</div><div class="line"><a name="l01330"></a><span class="lineno"> 1330</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(argv)</div><div class="line"><a name="l01331"></a><span class="lineno"> 1331</span>&#160;    {</div><div class="line"><a name="l01332"></a><span class="lineno"> 1332</span>&#160;    }</div><div class="line"><a name="l01333"></a><span class="lineno"> 1333</span>&#160;</div><div class="line"><a name="l01335"></a><span class="lineno"> 1335</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> init();</div><div class="line"><a name="l01336"></a><span class="lineno"> 1336</span>&#160;</div><div class="line"><a name="l01338"></a><span class="lineno"> 1338</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> sendTo(<a class="code" href="classblfwk_1_1_packetizer.html">Packetizer</a> &amp;packetizer);</div><div class="line"><a name="l01339"></a><span class="lineno"> 1339</span>&#160;</div><div class="line"><a name="l01340"></a><span class="lineno"> 1340</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l01342"></a><span class="lineno"> 1342</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> processResponse(<span class="keyword">const</span> flash_read_once_response_packet_t *packet);</div><div class="line"><a name="l01343"></a><span class="lineno"> 1343</span>&#160;</div><div class="line"><a name="l01345"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_read_once.html#a6730b3632c38d4f6aba5ede045622aa0"> 1345</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classblfwk_1_1_flash_read_once.html#a6730b3632c38d4f6aba5ede045622aa0">processResponse</a>(<span class="keyword">const</span> uint8_t *packet)</div><div class="line"><a name="l01346"></a><span class="lineno"> 1346</span>&#160;    {</div><div class="line"><a name="l01347"></a><span class="lineno"> 1347</span>&#160;        <span class="keywordflow">return</span> Command::processResponse(reinterpret_cast&lt;const generic_response_packet_t *&gt;(packet),</div><div class="line"><a name="l01348"></a><span class="lineno"> 1348</span>&#160;                                        kCommandTag_FlashReadOnce);</div><div class="line"><a name="l01349"></a><span class="lineno"> 1349</span>&#160;    }</div><div class="line"><a name="l01350"></a><span class="lineno"> 1350</span>&#160;</div><div class="line"><a name="l01351"></a><span class="lineno"> 1351</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l01352"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_read_once.html#ad1bc79c34ed7a755417adc7f55d80fc8"> 1352</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_flash_read_once.html#ad1bc79c34ed7a755417adc7f55d80fc8">m_index</a>;     </div><div class="line"><a name="l01353"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_read_once.html#afb197155530232aad86ec24745ed37aa"> 1353</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_flash_read_once.html#afb197155530232aad86ec24745ed37aa">m_byteCount</a>; </div><div class="line"><a name="l01354"></a><span class="lineno"> 1354</span>&#160;};</div><div class="line"><a name="l01355"></a><span class="lineno"> 1355</span>&#160;</div><div class="line"><a name="l01359"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_read_resource.html"> 1359</a></span>&#160;<span class="keyword">class </span><a class="code" href="classblfwk_1_1_flash_read_resource.html">FlashReadResource</a> : <span class="keyword">public</span> <a class="code" href="classblfwk_1_1_command.html">Command</a></div><div class="line"><a name="l01360"></a><span class="lineno"> 1360</span>&#160;{</div><div class="line"><a name="l01361"></a><span class="lineno"> 1361</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l01363"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_read_resource.html#a08861a0fc0a14ac171b0afe9a7594d9e"> 1363</a></span>&#160;    <a class="code" href="classblfwk_1_1_flash_read_resource.html#a08861a0fc0a14ac171b0afe9a7594d9e">FlashReadResource</a>(<span class="keyword">const</span> string_vector_t *argv)</div><div class="line"><a name="l01364"></a><span class="lineno"> 1364</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(argv)</div><div class="line"><a name="l01365"></a><span class="lineno"> 1365</span>&#160;        , m_dataFile()</div><div class="line"><a name="l01366"></a><span class="lineno"> 1366</span>&#160;    {</div><div class="line"><a name="l01367"></a><span class="lineno"> 1367</span>&#160;    }</div><div class="line"><a name="l01368"></a><span class="lineno"> 1368</span>&#160;</div><div class="line"><a name="l01370"></a><span class="lineno"> 1370</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> init();</div><div class="line"><a name="l01371"></a><span class="lineno"> 1371</span>&#160;</div><div class="line"><a name="l01373"></a><span class="lineno"> 1373</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> sendTo(<a class="code" href="classblfwk_1_1_packetizer.html">Packetizer</a> &amp;packetizer);</div><div class="line"><a name="l01374"></a><span class="lineno"> 1374</span>&#160;</div><div class="line"><a name="l01375"></a><span class="lineno"> 1375</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l01377"></a><span class="lineno"> 1377</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> processResponse(<span class="keyword">const</span> flash_read_resource_response_packet_t *packet);</div><div class="line"><a name="l01378"></a><span class="lineno"> 1378</span>&#160;</div><div class="line"><a name="l01380"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_read_resource.html#ab5ea0211878232a277eb5edfc0b7882d"> 1380</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classblfwk_1_1_flash_read_resource.html#ab5ea0211878232a277eb5edfc0b7882d">processResponse</a>(<span class="keyword">const</span> uint8_t *packet)</div><div class="line"><a name="l01381"></a><span class="lineno"> 1381</span>&#160;    {</div><div class="line"><a name="l01382"></a><span class="lineno"> 1382</span>&#160;        <span class="keywordflow">return</span> Command::processResponse(reinterpret_cast&lt;const generic_response_packet_t *&gt;(packet),</div><div class="line"><a name="l01383"></a><span class="lineno"> 1383</span>&#160;                                        kCommandTag_FlashReadResource);</div><div class="line"><a name="l01384"></a><span class="lineno"> 1384</span>&#160;    }</div><div class="line"><a name="l01385"></a><span class="lineno"> 1385</span>&#160;</div><div class="line"><a name="l01386"></a><span class="lineno"> 1386</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l01387"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_read_resource.html#a530f9f5e12d8672f813d4f618e7fb7a9"> 1387</a></span>&#160;    std::string <a class="code" href="classblfwk_1_1_flash_read_resource.html#a530f9f5e12d8672f813d4f618e7fb7a9">m_dataFile</a>;  </div><div class="line"><a name="l01388"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_read_resource.html#a8732984bd658619cbdce28ba08f1740d"> 1388</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_flash_read_resource.html#a8732984bd658619cbdce28ba08f1740d">m_startAddress</a>; </div><div class="line"><a name="l01389"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_read_resource.html#a45042d907ebaf6883ea93ff68b61006f"> 1389</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_flash_read_resource.html#a45042d907ebaf6883ea93ff68b61006f">m_byteCount</a>;    </div><div class="line"><a name="l01390"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_read_resource.html#a82ec86a178bc3fa2bcddd0f3f6c9bc6a"> 1390</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_flash_read_resource.html#a82ec86a178bc3fa2bcddd0f3f6c9bc6a">m_option</a>;       </div><div class="line"><a name="l01391"></a><span class="lineno"> 1391</span>&#160;};</div><div class="line"><a name="l01392"></a><span class="lineno"> 1392</span>&#160;</div><div class="line"><a name="l01396"></a><span class="lineno"><a class="line" href="classblfwk_1_1_configure_quad_spi.html"> 1396</a></span>&#160;<span class="keyword">class </span><a class="code" href="classblfwk_1_1_configure_quad_spi.html">ConfigureQuadSpi</a> : <span class="keyword">public</span> <a class="code" href="classblfwk_1_1_command.html">Command</a></div><div class="line"><a name="l01397"></a><span class="lineno"> 1397</span>&#160;{</div><div class="line"><a name="l01398"></a><span class="lineno"> 1398</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l01400"></a><span class="lineno"><a class="line" href="classblfwk_1_1_configure_quad_spi.html#ab9b1a089efb2ecddd75b79b683724146"> 1400</a></span>&#160;    <a class="code" href="classblfwk_1_1_configure_quad_spi.html#ab9b1a089efb2ecddd75b79b683724146">ConfigureQuadSpi</a>(<span class="keyword">const</span> string_vector_t *argv)</div><div class="line"><a name="l01401"></a><span class="lineno"> 1401</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(argv)</div><div class="line"><a name="l01402"></a><span class="lineno"> 1402</span>&#160;    {</div><div class="line"><a name="l01403"></a><span class="lineno"> 1403</span>&#160;    }</div><div class="line"><a name="l01404"></a><span class="lineno"> 1404</span>&#160;</div><div class="line"><a name="l01406"></a><span class="lineno"> 1406</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> init();</div><div class="line"><a name="l01407"></a><span class="lineno"> 1407</span>&#160;</div><div class="line"><a name="l01409"></a><span class="lineno"> 1409</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> sendTo(<a class="code" href="classblfwk_1_1_packetizer.html">Packetizer</a> &amp;packetizer);</div><div class="line"><a name="l01410"></a><span class="lineno"> 1410</span>&#160;</div><div class="line"><a name="l01411"></a><span class="lineno"> 1411</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l01413"></a><span class="lineno"><a class="line" href="classblfwk_1_1_configure_quad_spi.html#af991ffe2a30f455937100db8e0acfdcd"> 1413</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classblfwk_1_1_configure_quad_spi.html#af991ffe2a30f455937100db8e0acfdcd">processResponse</a>(<span class="keyword">const</span> uint8_t *packet)</div><div class="line"><a name="l01414"></a><span class="lineno"> 1414</span>&#160;    {</div><div class="line"><a name="l01415"></a><span class="lineno"> 1415</span>&#160;        <span class="keywordflow">return</span> Command::processResponse(reinterpret_cast&lt;const generic_response_packet_t *&gt;(packet),</div><div class="line"><a name="l01416"></a><span class="lineno"> 1416</span>&#160;                                        kCommandTag_ConfigureQuadSpi);</div><div class="line"><a name="l01417"></a><span class="lineno"> 1417</span>&#160;    }</div><div class="line"><a name="l01418"></a><span class="lineno"> 1418</span>&#160;</div><div class="line"><a name="l01419"></a><span class="lineno"> 1419</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l01420"></a><span class="lineno"><a class="line" href="classblfwk_1_1_configure_quad_spi.html#a81bab2c9b6dca7b714a002f5e7c1d06d"> 1420</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_configure_quad_spi.html#a81bab2c9b6dca7b714a002f5e7c1d06d">m_flashMemId</a>;         </div><div class="line"><a name="l01421"></a><span class="lineno"><a class="line" href="classblfwk_1_1_configure_quad_spi.html#aea7108937c48ca6de60a06057015e02a"> 1421</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_configure_quad_spi.html#aea7108937c48ca6de60a06057015e02a">m_configBlockAddress</a>; </div><div class="line"><a name="l01422"></a><span class="lineno"> 1422</span>&#160;};</div><div class="line"><a name="l01423"></a><span class="lineno"> 1423</span>&#160;</div><div class="line"><a name="l01427"></a><span class="lineno"><a class="line" href="classblfwk_1_1_reliable_update.html"> 1427</a></span>&#160;<span class="keyword">class </span><a class="code" href="classblfwk_1_1_reliable_update.html">ReliableUpdate</a> : <span class="keyword">public</span> <a class="code" href="classblfwk_1_1_command.html">Command</a></div><div class="line"><a name="l01428"></a><span class="lineno"> 1428</span>&#160;{</div><div class="line"><a name="l01429"></a><span class="lineno"> 1429</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l01431"></a><span class="lineno"><a class="line" href="classblfwk_1_1_reliable_update.html#a915e48e985215adc79f5fa21f772d329"> 1431</a></span>&#160;    <a class="code" href="classblfwk_1_1_reliable_update.html#a915e48e985215adc79f5fa21f772d329">ReliableUpdate</a>(<span class="keyword">const</span> string_vector_t *argv)</div><div class="line"><a name="l01432"></a><span class="lineno"> 1432</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(argv)</div><div class="line"><a name="l01433"></a><span class="lineno"> 1433</span>&#160;    {</div><div class="line"><a name="l01434"></a><span class="lineno"> 1434</span>&#160;    }</div><div class="line"><a name="l01435"></a><span class="lineno"> 1435</span>&#160;</div><div class="line"><a name="l01437"></a><span class="lineno"> 1437</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> init();</div><div class="line"><a name="l01438"></a><span class="lineno"> 1438</span>&#160;</div><div class="line"><a name="l01440"></a><span class="lineno"> 1440</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> sendTo(<a class="code" href="classblfwk_1_1_packetizer.html">Packetizer</a> &amp;packetizer);</div><div class="line"><a name="l01441"></a><span class="lineno"> 1441</span>&#160;</div><div class="line"><a name="l01442"></a><span class="lineno"> 1442</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l01444"></a><span class="lineno"><a class="line" href="classblfwk_1_1_reliable_update.html#a0ef131c04cba7a3d1250273d87d5c3dd"> 1444</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classblfwk_1_1_reliable_update.html#a0ef131c04cba7a3d1250273d87d5c3dd">processResponse</a>(<span class="keyword">const</span> uint8_t *packet)</div><div class="line"><a name="l01445"></a><span class="lineno"> 1445</span>&#160;    {</div><div class="line"><a name="l01446"></a><span class="lineno"> 1446</span>&#160;        <span class="keywordflow">return</span> Command::processResponse(reinterpret_cast&lt;const generic_response_packet_t *&gt;(packet),</div><div class="line"><a name="l01447"></a><span class="lineno"> 1447</span>&#160;                                        kCommandTag_ReliableUpdate);</div><div class="line"><a name="l01448"></a><span class="lineno"> 1448</span>&#160;    }</div><div class="line"><a name="l01449"></a><span class="lineno"> 1449</span>&#160;</div><div class="line"><a name="l01450"></a><span class="lineno"> 1450</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l01451"></a><span class="lineno"><a class="line" href="classblfwk_1_1_reliable_update.html#af6cc4a7648738b6bfab65131e03e5e92"> 1451</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_reliable_update.html#af6cc4a7648738b6bfab65131e03e5e92">m_address</a>; </div><div class="line"><a name="l01452"></a><span class="lineno"> 1452</span>&#160;};</div><div class="line"><a name="l01453"></a><span class="lineno"> 1453</span>&#160;</div><div class="line"><a name="l01457"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_image.html"> 1457</a></span>&#160;<span class="keyword">class </span><a class="code" href="classblfwk_1_1_flash_image.html">FlashImage</a> : <span class="keyword">public</span> <a class="code" href="classblfwk_1_1_command.html">Command</a></div><div class="line"><a name="l01458"></a><span class="lineno"> 1458</span>&#160;{</div><div class="line"><a name="l01459"></a><span class="lineno"> 1459</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l01461"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_image.html#a9c1bef23bbbd5c9764b15894240f20d7"> 1461</a></span>&#160;    <a class="code" href="classblfwk_1_1_flash_image.html#a9c1bef23bbbd5c9764b15894240f20d7">FlashImage</a>(<span class="keyword">const</span> string_vector_t *argv)</div><div class="line"><a name="l01462"></a><span class="lineno"> 1462</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(argv)</div><div class="line"><a name="l01463"></a><span class="lineno"> 1463</span>&#160;        , m_fileName()</div><div class="line"><a name="l01464"></a><span class="lineno"> 1464</span>&#160;        , m_sourceFile(NULL)</div><div class="line"><a name="l01465"></a><span class="lineno"> 1465</span>&#160;        , m_doEraseOpt(false)</div><div class="line"><a name="l01466"></a><span class="lineno"> 1466</span>&#160;        , m_sectorSize()</div><div class="line"><a name="l01467"></a><span class="lineno"> 1467</span>&#160;    {</div><div class="line"><a name="l01468"></a><span class="lineno"> 1468</span>&#160;    }</div><div class="line"><a name="l01469"></a><span class="lineno"> 1469</span>&#160;</div><div class="line"><a name="l01471"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_image.html#aec568adfde53bdbedfc0b46cb7a7fd9e"> 1471</a></span>&#160;    <a class="code" href="classblfwk_1_1_flash_image.html#aec568adfde53bdbedfc0b46cb7a7fd9e">FlashImage</a>(<a class="code" href="classblfwk_1_1_source_file.html">SourceFile</a> *sourceFile, <span class="keywordtype">bool</span> doEraseOpt)</div><div class="line"><a name="l01472"></a><span class="lineno"> 1472</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(kCommand_FlashImage.name)</div><div class="line"><a name="l01473"></a><span class="lineno"> 1473</span>&#160;        , m_fileName()</div><div class="line"><a name="l01474"></a><span class="lineno"> 1474</span>&#160;        , m_sourceFile(sourceFile)</div><div class="line"><a name="l01475"></a><span class="lineno"> 1475</span>&#160;        , m_doEraseOpt(doEraseOpt)</div><div class="line"><a name="l01476"></a><span class="lineno"> 1476</span>&#160;        , m_sectorSize()</div><div class="line"><a name="l01477"></a><span class="lineno"> 1477</span>&#160;    {</div><div class="line"><a name="l01478"></a><span class="lineno"> 1478</span>&#160;        m_argv.push_back(m_sourceFile-&gt;getPath());</div><div class="line"><a name="l01479"></a><span class="lineno"> 1479</span>&#160;        m_argv.push_back(doEraseOpt ? <span class="stringliteral">&quot;erase&quot;</span> : <span class="stringliteral">&quot;none&quot;</span>);</div><div class="line"><a name="l01480"></a><span class="lineno"> 1480</span>&#160;    }</div><div class="line"><a name="l01481"></a><span class="lineno"> 1481</span>&#160;</div><div class="line"><a name="l01483"></a><span class="lineno"> 1483</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> init();</div><div class="line"><a name="l01484"></a><span class="lineno"> 1484</span>&#160;</div><div class="line"><a name="l01486"></a><span class="lineno"> 1486</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> sendTo(<a class="code" href="classblfwk_1_1_packetizer.html">Packetizer</a> &amp;packetizer);</div><div class="line"><a name="l01487"></a><span class="lineno"> 1487</span>&#160;</div><div class="line"><a name="l01488"></a><span class="lineno"> 1488</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l01489"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_image.html#a64640ba021a06762a46b9c935fe43d1a"> 1489</a></span>&#160;    uint32_t <a class="code" href="classblfwk_1_1_flash_image.html#a64640ba021a06762a46b9c935fe43d1a">m_sectorSize</a>;    </div><div class="line"><a name="l01490"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_image.html#a2c7277aa736ef7e619e7f3fb2c54597c"> 1490</a></span>&#160;    std::string <a class="code" href="classblfwk_1_1_flash_image.html#a2c7277aa736ef7e619e7f3fb2c54597c">m_fileName</a>;   </div><div class="line"><a name="l01491"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_image.html#a90eef495f36a323b0a1963d0555be90f"> 1491</a></span>&#160;    <a class="code" href="classblfwk_1_1_source_file.html">SourceFile</a> *<a class="code" href="classblfwk_1_1_flash_image.html#a90eef495f36a323b0a1963d0555be90f">m_sourceFile</a>; </div><div class="line"><a name="l01492"></a><span class="lineno"><a class="line" href="classblfwk_1_1_flash_image.html#ad1a045fef15498c60bbc7489ec5290fd"> 1492</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classblfwk_1_1_flash_image.html#ad1a045fef15498c60bbc7489ec5290fd">m_doEraseOpt</a>;        </div><div class="line"><a name="l01493"></a><span class="lineno"> 1493</span>&#160;};</div><div class="line"><a name="l01494"></a><span class="lineno"> 1494</span>&#160;</div><div class="line"><a name="l01498"></a><span class="lineno"><a class="line" href="classblfwk_1_1_configure_i2c.html"> 1498</a></span>&#160;<span class="keyword">class </span><a class="code" href="classblfwk_1_1_configure_i2c.html">ConfigureI2c</a> : <span class="keyword">public</span> <a class="code" href="classblfwk_1_1_command.html">Command</a></div><div class="line"><a name="l01499"></a><span class="lineno"> 1499</span>&#160;{</div><div class="line"><a name="l01500"></a><span class="lineno"> 1500</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l01502"></a><span class="lineno"><a class="line" href="classblfwk_1_1_configure_i2c.html#a8e50b286d2a9d3608473057c1bde9e1f"> 1502</a></span>&#160;    <a class="code" href="classblfwk_1_1_configure_i2c.html#a8e50b286d2a9d3608473057c1bde9e1f">ConfigureI2c</a>(<span class="keyword">const</span> string_vector_t *argv)</div><div class="line"><a name="l01503"></a><span class="lineno"> 1503</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(argv)</div><div class="line"><a name="l01504"></a><span class="lineno"> 1504</span>&#160;    {</div><div class="line"><a name="l01505"></a><span class="lineno"> 1505</span>&#160;    }</div><div class="line"><a name="l01506"></a><span class="lineno"> 1506</span>&#160;</div><div class="line"><a name="l01508"></a><span class="lineno"> 1508</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> init();</div><div class="line"><a name="l01509"></a><span class="lineno"> 1509</span>&#160;</div><div class="line"><a name="l01511"></a><span class="lineno"> 1511</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> sendTo(<a class="code" href="classblfwk_1_1_packetizer.html">Packetizer</a> &amp;packetizer);</div><div class="line"><a name="l01512"></a><span class="lineno"> 1512</span>&#160;</div><div class="line"><a name="l01513"></a><span class="lineno"> 1513</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l01515"></a><span class="lineno"><a class="line" href="classblfwk_1_1_configure_i2c.html#a1e4d00f0da43537e65da42e34bed508d"> 1515</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classblfwk_1_1_configure_i2c.html#a1e4d00f0da43537e65da42e34bed508d">processResponse</a>(<span class="keyword">const</span> uint8_t *packet)</div><div class="line"><a name="l01516"></a><span class="lineno"> 1516</span>&#160;    {</div><div class="line"><a name="l01517"></a><span class="lineno"> 1517</span>&#160;        <span class="keywordflow">return</span> Command::processResponse(reinterpret_cast&lt;const generic_response_packet_t *&gt;(packet),</div><div class="line"><a name="l01518"></a><span class="lineno"> 1518</span>&#160;                                        kCommandTag_ConfigureI2c);</div><div class="line"><a name="l01519"></a><span class="lineno"> 1519</span>&#160;    }</div><div class="line"><a name="l01520"></a><span class="lineno"> 1520</span>&#160;</div><div class="line"><a name="l01521"></a><span class="lineno"> 1521</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l01522"></a><span class="lineno"> 1522</span>&#160;    uint8_t i2cAddress = 0x10;</div><div class="line"><a name="l01523"></a><span class="lineno"> 1523</span>&#160;    uint32_t i2cSpeedKHz = 100;</div><div class="line"><a name="l01524"></a><span class="lineno"> 1524</span>&#160;};</div><div class="line"><a name="l01525"></a><span class="lineno"> 1525</span>&#160;</div><div class="line"><a name="l01529"></a><span class="lineno"><a class="line" href="classblfwk_1_1_configure_spi.html"> 1529</a></span>&#160;<span class="keyword">class </span><a class="code" href="classblfwk_1_1_configure_spi.html">ConfigureSpi</a> : <span class="keyword">public</span> <a class="code" href="classblfwk_1_1_command.html">Command</a></div><div class="line"><a name="l01530"></a><span class="lineno"> 1530</span>&#160;{</div><div class="line"><a name="l01531"></a><span class="lineno"> 1531</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l01533"></a><span class="lineno"><a class="line" href="classblfwk_1_1_configure_spi.html#aa57e418c642e4cfd7d36229b8326c917"> 1533</a></span>&#160;    <a class="code" href="classblfwk_1_1_configure_spi.html#aa57e418c642e4cfd7d36229b8326c917">ConfigureSpi</a>(<span class="keyword">const</span> string_vector_t *argv)</div><div class="line"><a name="l01534"></a><span class="lineno"> 1534</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(argv)</div><div class="line"><a name="l01535"></a><span class="lineno"> 1535</span>&#160;    {</div><div class="line"><a name="l01536"></a><span class="lineno"> 1536</span>&#160;    }</div><div class="line"><a name="l01537"></a><span class="lineno"> 1537</span>&#160;</div><div class="line"><a name="l01539"></a><span class="lineno"> 1539</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> init();</div><div class="line"><a name="l01540"></a><span class="lineno"> 1540</span>&#160;</div><div class="line"><a name="l01542"></a><span class="lineno"> 1542</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> sendTo(<a class="code" href="classblfwk_1_1_packetizer.html">Packetizer</a> &amp;packetizer);</div><div class="line"><a name="l01543"></a><span class="lineno"> 1543</span>&#160;</div><div class="line"><a name="l01544"></a><span class="lineno"> 1544</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l01546"></a><span class="lineno"><a class="line" href="classblfwk_1_1_configure_spi.html#a07f9ac278c7b7736b3a80c865ccc3d7e"> 1546</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classblfwk_1_1_configure_spi.html#a07f9ac278c7b7736b3a80c865ccc3d7e">processResponse</a>(<span class="keyword">const</span> uint8_t *packet)</div><div class="line"><a name="l01547"></a><span class="lineno"> 1547</span>&#160;    {</div><div class="line"><a name="l01548"></a><span class="lineno"> 1548</span>&#160;        <span class="keywordflow">return</span> Command::processResponse(reinterpret_cast&lt;const generic_response_packet_t *&gt;(packet),</div><div class="line"><a name="l01549"></a><span class="lineno"> 1549</span>&#160;                                        kCommandTag_ConfigureSpi);</div><div class="line"><a name="l01550"></a><span class="lineno"> 1550</span>&#160;    }</div><div class="line"><a name="l01551"></a><span class="lineno"> 1551</span>&#160;</div><div class="line"><a name="l01552"></a><span class="lineno"> 1552</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l01553"></a><span class="lineno"> 1553</span>&#160;    uint32_t spiSpeedKHz = 100;</div><div class="line"><a name="l01554"></a><span class="lineno"> 1554</span>&#160;    <a class="code" href="classblfwk_1_1_bus_pal.html#a032b21d6ebbd41de467492fb047bfff8">BusPal::spi_clock_polarity_t</a> spiPolarity = BusPal::kSpiClockPolarity_ActiveLow;</div><div class="line"><a name="l01555"></a><span class="lineno"> 1555</span>&#160;    <a class="code" href="classblfwk_1_1_bus_pal.html#ae0fcbb292f846c40a93219e55d92bc6c">BusPal::spi_clock_phase_t</a> spiPhase = BusPal::kSpiClockPhase_SecondEdge;</div><div class="line"><a name="l01556"></a><span class="lineno"> 1556</span>&#160;    <a class="code" href="classblfwk_1_1_bus_pal.html#a87f2962a35c81c8676f9138f2135ebc5">BusPal::spi_shift_direction_t</a> spiDirection = BusPal::kSpiMsbFirst;</div><div class="line"><a name="l01557"></a><span class="lineno"> 1557</span>&#160;};</div><div class="line"><a name="l01558"></a><span class="lineno"> 1558</span>&#160;</div><div class="line"><a name="l01562"></a><span class="lineno"><a class="line" href="classblfwk_1_1_configure_can.html"> 1562</a></span>&#160;<span class="keyword">class </span><a class="code" href="classblfwk_1_1_configure_can.html">ConfigureCan</a> : <span class="keyword">public</span> <a class="code" href="classblfwk_1_1_command.html">Command</a></div><div class="line"><a name="l01563"></a><span class="lineno"> 1563</span>&#160;{</div><div class="line"><a name="l01564"></a><span class="lineno"> 1564</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l01566"></a><span class="lineno"><a class="line" href="classblfwk_1_1_configure_can.html#a90eab24b0ec8ff317b1e8568cf8b318b"> 1566</a></span>&#160;    <a class="code" href="classblfwk_1_1_configure_can.html#a90eab24b0ec8ff317b1e8568cf8b318b">ConfigureCan</a>(<span class="keyword">const</span> string_vector_t *argv)</div><div class="line"><a name="l01567"></a><span class="lineno"> 1567</span>&#160;        : <a class="code" href="classblfwk_1_1_command.html">Command</a>(argv)</div><div class="line"><a name="l01568"></a><span class="lineno"> 1568</span>&#160;    {</div><div class="line"><a name="l01569"></a><span class="lineno"> 1569</span>&#160;    }</div><div class="line"><a name="l01570"></a><span class="lineno"> 1570</span>&#160;</div><div class="line"><a name="l01572"></a><span class="lineno"> 1572</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> init();</div><div class="line"><a name="l01573"></a><span class="lineno"> 1573</span>&#160;</div><div class="line"><a name="l01575"></a><span class="lineno"> 1575</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> sendTo(<a class="code" href="classblfwk_1_1_packetizer.html">Packetizer</a> &amp;packetizer);</div><div class="line"><a name="l01576"></a><span class="lineno"> 1576</span>&#160;</div><div class="line"><a name="l01577"></a><span class="lineno"> 1577</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l01579"></a><span class="lineno"><a class="line" href="classblfwk_1_1_configure_can.html#af1fa772bf30642ff039937e0cac6be13"> 1579</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classblfwk_1_1_configure_can.html#af1fa772bf30642ff039937e0cac6be13">processResponse</a>(<span class="keyword">const</span> uint8_t *packet)</div><div class="line"><a name="l01580"></a><span class="lineno"> 1580</span>&#160;    {</div><div class="line"><a name="l01581"></a><span class="lineno"> 1581</span>&#160;        <span class="keywordflow">return</span> Command::processResponse(reinterpret_cast&lt;const generic_response_packet_t *&gt;(packet),</div><div class="line"><a name="l01582"></a><span class="lineno"> 1582</span>&#160;                                        kCommandTag_ConfigureCan);</div><div class="line"><a name="l01583"></a><span class="lineno"> 1583</span>&#160;    }</div><div class="line"><a name="l01584"></a><span class="lineno"> 1584</span>&#160;</div><div class="line"><a name="l01585"></a><span class="lineno"> 1585</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l01586"></a><span class="lineno"> 1586</span>&#160;    uint32_t canSpeed = 4;</div><div class="line"><a name="l01587"></a><span class="lineno"> 1587</span>&#160;    uint32_t canTxid = 0x321;</div><div class="line"><a name="l01588"></a><span class="lineno"> 1588</span>&#160;    uint32_t canRxid = 0x123;</div><div class="line"><a name="l01589"></a><span class="lineno"> 1589</span>&#160;};</div><div class="line"><a name="l01590"></a><span class="lineno"> 1590</span>&#160;</div><div class="line"><a name="l01592"></a><span class="lineno"> 1592</span>&#160;</div><div class="line"><a name="l01593"></a><span class="lineno"> 1593</span>&#160;} <span class="comment">// namespace blfwk</span></div><div class="line"><a name="l01594"></a><span class="lineno"> 1594</span>&#160;</div><div class="line"><a name="l01596"></a><span class="lineno"> 1596</span>&#160;</div><div class="line"><a name="l01597"></a><span class="lineno"> 1597</span>&#160;<span class="preprocessor">#endif // _Command_h_</span></div><div class="line"><a name="l01598"></a><span class="lineno"> 1598</span>&#160;</div><div class="line"><a name="l01600"></a><span class="lineno"> 1600</span>&#160;<span class="comment">// EOF</span></div><div class="ttc" id="classblfwk_1_1_flash_read_resource_html_ab5ea0211878232a277eb5edfc0b7882d"><div class="ttname"><a href="classblfwk_1_1_flash_read_resource.html#ab5ea0211878232a277eb5edfc0b7882d">blfwk::FlashReadResource::processResponse</a></div><div class="ttdeci">virtual bool processResponse(const uint8_t *packet)</div><div class="ttdoc">Check generic response packet. </div><div class="ttdef"><b>Definition:</b> Command.h:1380</div></div>
<div class="ttc" id="classblfwk_1_1_packetizer_html"><div class="ttname"><a href="classblfwk_1_1_packetizer.html">blfwk::Packetizer</a></div><div class="ttdoc">Interface class for packetization of commands and data. </div><div class="ttdef"><b>Definition:</b> Packetizer.h:59</div></div>
<div class="ttc" id="classblfwk_1_1_flash_erase_all_html"><div class="ttname"><a href="classblfwk_1_1_flash_erase_all.html">blfwk::FlashEraseAll</a></div><div class="ttdoc">Represents the bootloader Flash Erase All command. </div><div class="ttdef"><b>Definition:</b> Command.h:927</div></div>
<div class="ttc" id="classblfwk_1_1_execute_html_ae3c8a03ea8048e1597cd95e681f76583"><div class="ttname"><a href="classblfwk_1_1_execute.html#ae3c8a03ea8048e1597cd95e681f76583">blfwk::Execute::Execute</a></div><div class="ttdeci">Execute(const string_vector_t *argv)</div><div class="ttdoc">Constructor that takes an argument vector. </div><div class="ttdef"><b>Definition:</b> Command.h:1173</div></div>
<div class="ttc" id="classblfwk_1_1_reset_html_a7c4ead784b295e59cc4c28f1a0d56723"><div class="ttname"><a href="classblfwk_1_1_reset.html#a7c4ead784b295e59cc4c28f1a0d56723">blfwk::Reset::Reset</a></div><div class="ttdeci">Reset(const string_vector_t *argv)</div><div class="ttdoc">Constructor that takes argument vector. </div><div class="ttdef"><b>Definition:</b> Command.h:774</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_1_1_file_data_consumer_html"><div class="ttname"><a href="classblfwk_1_1_data_packet_1_1_file_data_consumer.html">blfwk::DataPacket::FileDataConsumer</a></div><div class="ttdoc">Write file data for data phase receive. </div><div class="ttdef"><b>Definition:</b> Command.h:665</div></div>
<div class="ttc" id="classblfwk_1_1_bus_pal_html_a87f2962a35c81c8676f9138f2135ebc5"><div class="ttname"><a href="classblfwk_1_1_bus_pal.html#a87f2962a35c81c8676f9138f2135ebc5">blfwk::BusPal::spi_shift_direction_t</a></div><div class="ttdeci">spi_shift_direction_t</div><div class="ttdoc">SPI data shifter direction options. </div><div class="ttdef"><b>Definition:</b> BusPal.h:90</div></div>
<div class="ttc" id="classblfwk_1_1_flash_read_once_html_a6730b3632c38d4f6aba5ede045622aa0"><div class="ttname"><a href="classblfwk_1_1_flash_read_once.html#a6730b3632c38d4f6aba5ede045622aa0">blfwk::FlashReadOnce::processResponse</a></div><div class="ttdeci">virtual bool processResponse(const uint8_t *packet)</div><div class="ttdoc">Check generic response packet. </div><div class="ttdef"><b>Definition:</b> Command.h:1345</div></div>
<div class="ttc" id="classblfwk_1_1_flash_security_disable_html_a398c43fe5b75796c76fbb93616e9433f"><div class="ttname"><a href="classblfwk_1_1_flash_security_disable.html#a398c43fe5b75796c76fbb93616e9433f">blfwk::FlashSecurityDisable::m_keyLow</a></div><div class="ttdeci">uint32_t m_keyLow</div><div class="ttdoc">Bytes 0-3 of the flash backdoor key. </div><div class="ttdef"><b>Definition:</b> Command.h:1275</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_1_1_hex_data_producer_html_a3e22e6fe3b88d3bbe2205f793351aee1"><div class="ttname"><a href="classblfwk_1_1_data_packet_1_1_hex_data_producer.html#a3e22e6fe3b88d3bbe2205f793351aee1">blfwk::DataPacket::HexDataProducer::getDataSize</a></div><div class="ttdeci">virtual uint32_t getDataSize() const </div><div class="ttdoc">Query the total size of the data. </div><div class="ttdef"><b>Definition:</b> Command.h:600</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_1_1_hex_data_producer_html_a289288e7735301ccc28799fba1a496a8"><div class="ttname"><a href="classblfwk_1_1_data_packet_1_1_hex_data_producer.html#a289288e7735301ccc28799fba1a496a8">blfwk::DataPacket::HexDataProducer::m_data</a></div><div class="ttdeci">uchar_vector_t m_data</div><div class="ttdoc">Data byte vector. </div><div class="ttdef"><b>Definition:</b> Command.h:610</div></div>
<div class="ttc" id="classblfwk_1_1_progress_html_a65a6a64463a6c491d471f0b9f0fce8d8"><div class="ttname"><a href="classblfwk_1_1_progress.html#a65a6a64463a6c491d471f0b9f0fce8d8">blfwk::Progress::m_segmentCount</a></div><div class="ttdeci">int m_segmentCount</div><div class="ttdoc">The number of data segments. </div><div class="ttdef"><b>Definition:</b> Command.h:285</div></div>
<div class="ttc" id="classblfwk_1_1_progress_html_a6bd2a4b609067598ae66443c84c312c6"><div class="ttname"><a href="classblfwk_1_1_progress.html#a6bd2a4b609067598ae66443c84c312c6">blfwk::Progress::Progress</a></div><div class="ttdeci">Progress()</div><div class="ttdoc">Default constructor. </div><div class="ttdef"><b>Definition:</b> Command.h:229</div></div>
<div class="ttc" id="classblfwk_1_1_flash_security_disable_html"><div class="ttname"><a href="classblfwk_1_1_flash_security_disable.html">blfwk::FlashSecurityDisable</a></div><div class="ttdoc">Represents the bootloader Flash Security Disable command. </div><div class="ttdef"><b>Definition:</b> Command.h:1243</div></div>
<div class="ttc" id="classblfwk_1_1_command_packet_html"><div class="ttname"><a href="classblfwk_1_1_command_packet.html">blfwk::CommandPacket</a></div><div class="ttdoc">Command packet operations. </div><div class="ttdef"><b>Definition:</b> Command.h:406</div></div>
<div class="ttc" id="classblfwk_1_1_command_html_a33facfaf717322568f444f3b9250755d"><div class="ttname"><a href="classblfwk_1_1_command.html#a33facfaf717322568f444f3b9250755d">blfwk::Command::m_responseValues</a></div><div class="ttdeci">uint32_vector_t m_responseValues</div><div class="ttdoc">Vector of response values. </div><div class="ttdef"><b>Definition:</b> Command.h:397</div></div>
<div class="ttc" id="classblfwk_1_1_call_html_aac2d1537151c465fb07fea6d683cf58a"><div class="ttname"><a href="classblfwk_1_1_call.html#aac2d1537151c465fb07fea6d683cf58a">blfwk::Call::m_wordArgument</a></div><div class="ttdeci">uint32_t m_wordArgument</div><div class="ttdoc">Word argument passed to function. </div><div class="ttdef"><b>Definition:</b> Command.h:1237</div></div>
<div class="ttc" id="classblfwk_1_1_write_memory_html_a3e95caf622fc25ada28897a20ffa9fa5"><div class="ttname"><a href="classblfwk_1_1_write_memory.html#a3e95caf622fc25ada28897a20ffa9fa5">blfwk::WriteMemory::processResponse</a></div><div class="ttdeci">virtual bool processResponse(const uint8_t *packet)</div><div class="ttdoc">Check response packet. </div><div class="ttdef"><b>Definition:</b> Command.h:1082</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_1_1_file_data_producer_html_a770c3f701fd5430b321808ee990129a5"><div class="ttname"><a href="classblfwk_1_1_data_packet_1_1_file_data_producer.html#a770c3f701fd5430b321808ee990129a5">blfwk::DataPacket::FileDataProducer::m_fileSize</a></div><div class="ttdeci">long m_fileSize</div><div class="ttdoc">Size in bytes of data file. </div><div class="ttdef"><b>Definition:</b> Command.h:563</div></div>
<div class="ttc" id="classblfwk_1_1_configure_spi_html"><div class="ttname"><a href="classblfwk_1_1_configure_spi.html">blfwk::ConfigureSpi</a></div><div class="ttdoc">Represents the bootloader Configure SPI command. </div><div class="ttdef"><b>Definition:</b> Command.h:1529</div></div>
<div class="ttc" id="classblfwk_1_1_execute_html_a577eccac5a7d73c6ddc9ecfae0cbd3c4"><div class="ttname"><a href="classblfwk_1_1_execute.html#a577eccac5a7d73c6ddc9ecfae0cbd3c4">blfwk::Execute::m_wordArgument</a></div><div class="ttdeci">uint32_t m_wordArgument</div><div class="ttdoc">Word argument passed to function. </div><div class="ttdef"><b>Definition:</b> Command.h:1206</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_1_1_segment_data_producer_html_a0b97eeb4c4d377d77ecd5772a498086d"><div class="ttname"><a href="classblfwk_1_1_data_packet_1_1_segment_data_producer.html#a0b97eeb4c4d377d77ecd5772a498086d">blfwk::DataPacket::SegmentDataProducer::SegmentDataProducer</a></div><div class="ttdeci">SegmentDataProducer(blfwk::DataSource::Segment *segment)</div><div class="ttdoc">Default constructor. </div><div class="ttdef"><b>Definition:</b> Command.h:620</div></div>
<div class="ttc" id="namespaceblfwk_html"><div class="ttname"><a href="namespaceblfwk.html">blfwk</a></div><div class="ttdef"><b>Definition:</b> BlfwkErrors.h:16</div></div>
<div class="ttc" id="classblfwk_1_1_command_packet_html_a67ea376edf52a9adbfaddfed0462241a"><div class="ttname"><a href="classblfwk_1_1_command_packet.html#a67ea376edf52a9adbfaddfed0462241a">blfwk::CommandPacket::getSize</a></div><div class="ttdeci">uint32_t getSize() const </div><div class="ttdoc">Get size of command packet, including arguments. </div><div class="ttdef"><b>Definition:</b> Command.h:478</div></div>
<div class="ttc" id="classblfwk_1_1_command_html"><div class="ttname"><a href="classblfwk_1_1_command.html">blfwk::Command</a></div><div class="ttdoc">Represents a bootloader command. </div><div class="ttdef"><b>Definition:</b> Command.h:301</div></div>
<div class="ttc" id="classblfwk_1_1_configure_quad_spi_html_aea7108937c48ca6de60a06057015e02a"><div class="ttname"><a href="classblfwk_1_1_configure_quad_spi.html#aea7108937c48ca6de60a06057015e02a">blfwk::ConfigureQuadSpi::m_configBlockAddress</a></div><div class="ttdeci">uint32_t m_configBlockAddress</div><div class="ttdoc">Qspi config block address (in RAM or in internal Flash). </div><div class="ttdef"><b>Definition:</b> Command.h:1421</div></div>
<div class="ttc" id="classblfwk_1_1_flash_image_html_aec568adfde53bdbedfc0b46cb7a7fd9e"><div class="ttname"><a href="classblfwk_1_1_flash_image.html#aec568adfde53bdbedfc0b46cb7a7fd9e">blfwk::FlashImage::FlashImage</a></div><div class="ttdeci">FlashImage(SourceFile *sourceFile, bool doEraseOpt)</div><div class="ttdoc">Constructor that takes a SourceFile argument. </div><div class="ttdef"><b>Definition:</b> Command.h:1471</div></div>
<div class="ttc" id="classblfwk_1_1_flash_erase_region_html_ac3e4aeaf0d25d38a0c0e7bf023c5eec9"><div class="ttname"><a href="classblfwk_1_1_flash_erase_region.html#ac3e4aeaf0d25d38a0c0e7bf023c5eec9">blfwk::FlashEraseRegion::FlashEraseRegion</a></div><div class="ttdeci">FlashEraseRegion(uint32_t start, uint32_t length)</div><div class="ttdoc">Constructor that takes a start and length arguments. </div><div class="ttdef"><b>Definition:</b> Command.h:896</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_1_1_data_producer_html"><div class="ttname"><a href="classblfwk_1_1_data_packet_1_1_data_producer.html">blfwk::DataPacket::DataProducer</a></div><div class="ttdoc">Abstract class to provide data for data phase. </div><div class="ttdef"><b>Definition:</b> Command.h:502</div></div>
<div class="ttc" id="classblfwk_1_1_call_html_a5fe59a4ce305c12dd72f39acc3b989b0"><div class="ttname"><a href="classblfwk_1_1_call.html#a5fe59a4ce305c12dd72f39acc3b989b0">blfwk::Call::Call</a></div><div class="ttdeci">Call(const string_vector_t *argv)</div><div class="ttdoc">Constructor that takes an argument vector. </div><div class="ttdef"><b>Definition:</b> Command.h:1217</div></div>
<div class="ttc" id="classblfwk_1_1_configure_spi_html_aa57e418c642e4cfd7d36229b8326c917"><div class="ttname"><a href="classblfwk_1_1_configure_spi.html#aa57e418c642e4cfd7d36229b8326c917">blfwk::ConfigureSpi::ConfigureSpi</a></div><div class="ttdeci">ConfigureSpi(const string_vector_t *argv)</div><div class="ttdoc">Constructor that takes an argument vector. </div><div class="ttdef"><b>Definition:</b> Command.h:1533</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_1_1_segment_data_producer_html_a1b70ae5d54be0414354e559d71969cbf"><div class="ttname"><a href="classblfwk_1_1_data_packet_1_1_segment_data_producer.html#a1b70ae5d54be0414354e559d71969cbf">blfwk::DataPacket::SegmentDataProducer::m_segment</a></div><div class="ttdeci">blfwk::DataSource::Segment * m_segment</div><div class="ttdoc">DataSource::Segment object. </div><div class="ttdef"><b>Definition:</b> Command.h:645</div></div>
<div class="ttc" id="classblfwk_1_1_progress_html_a429b2c0cae9de7a5f04952cfd17843f7"><div class="ttname"><a href="classblfwk_1_1_progress.html#a429b2c0cae9de7a5f04952cfd17843f7">blfwk::Progress::progressCallback</a></div><div class="ttdeci">void progressCallback(int percentage)</div><div class="ttdoc">execute the progress callback function. </div><div class="ttdef"><b>Definition:</b> Command.h:251</div></div>
<div class="ttc" id="classblfwk_1_1_fill_memory_html_a4e2b2698d3aa6f5268f5e2f41b5479e1"><div class="ttname"><a href="classblfwk_1_1_fill_memory.html#a4e2b2698d3aa6f5268f5e2f41b5479e1">blfwk::FillMemory::m_patternWord</a></div><div class="ttdeci">uint32_t m_patternWord</div><div class="ttdoc">Fill pattern. </div><div class="ttdef"><b>Definition:</b> Command.h:1125</div></div>
<div class="ttc" id="classblfwk_1_1_get_property_html_a6e5606691c2c03e8bde012268cd070ac"><div class="ttname"><a href="classblfwk_1_1_get_property.html#a6e5606691c2c03e8bde012268cd070ac">blfwk::GetProperty::m_memoryId</a></div><div class="ttdeci">uint32_t m_memoryId</div><div class="ttdoc">External memory identifier. </div><div class="ttdef"><b>Definition:</b> Command.h:839</div></div>
<div class="ttc" id="classblfwk_1_1_read_memory_html_a32f02116e586cd81cdf43183dc346654"><div class="ttname"><a href="classblfwk_1_1_read_memory.html#a32f02116e586cd81cdf43183dc346654">blfwk::ReadMemory::m_byteCount</a></div><div class="ttdeci">uint32_t m_byteCount</div><div class="ttdoc">Number of bytes to read. </div><div class="ttdef"><b>Definition:</b> Command.h:1028</div></div>
<div class="ttc" id="classblfwk_1_1_flash_program_once_html_a2d462c69ce0863fe7500399440d24108"><div class="ttname"><a href="classblfwk_1_1_flash_program_once.html#a2d462c69ce0863fe7500399440d24108">blfwk::FlashProgramOnce::m_dataHigh</a></div><div class="ttdeci">uint32_t m_dataHigh</div><div class="ttdoc">Bytes 4-7 of the data to be written. </div><div class="ttdef"><b>Definition:</b> Command.h:1319</div></div>
<div class="ttc" id="classblfwk_1_1_flash_security_disable_html_af7a707ade051a353c24a6debd8b7387c"><div class="ttname"><a href="classblfwk_1_1_flash_security_disable.html#af7a707ade051a353c24a6debd8b7387c">blfwk::FlashSecurityDisable::FlashSecurityDisable</a></div><div class="ttdeci">FlashSecurityDisable(const string_vector_t *argv)</div><div class="ttdoc">Constructor that takes an argument vector. </div><div class="ttdef"><b>Definition:</b> Command.h:1247</div></div>
<div class="ttc" id="classblfwk_1_1_flash_erase_all_unsecure_html_a7c771eb6ca85651bbcebea1766721d80"><div class="ttname"><a href="classblfwk_1_1_flash_erase_all_unsecure.html#a7c771eb6ca85651bbcebea1766721d80">blfwk::FlashEraseAllUnsecure::FlashEraseAllUnsecure</a></div><div class="ttdeci">FlashEraseAllUnsecure()</div><div class="ttdoc">Constructor that takes none argument. </div><div class="ttdef"><b>Definition:</b> Command.h:975</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_1_1_data_consumer_html"><div class="ttname"><a href="classblfwk_1_1_data_packet_1_1_data_consumer.html">blfwk::DataPacket::DataConsumer</a></div><div class="ttdoc">Abstract class to consume data from data phase. </div><div class="ttdef"><b>Definition:</b> Command.h:652</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_1_1_std_out_data_consumer_html_a35f26e3b16befbe7b268c599d9958c9b"><div class="ttname"><a href="classblfwk_1_1_data_packet_1_1_std_out_data_consumer.html#a35f26e3b16befbe7b268c599d9958c9b">blfwk::DataPacket::StdOutDataConsumer::finalize</a></div><div class="ttdeci">virtual void finalize()</div><div class="ttdoc">Finalize processing. </div><div class="ttdef"><b>Definition:</b> Command.h:714</div></div>
<div class="ttc" id="classblfwk_1_1_reliable_update_html_a915e48e985215adc79f5fa21f772d329"><div class="ttname"><a href="classblfwk_1_1_reliable_update.html#a915e48e985215adc79f5fa21f772d329">blfwk::ReliableUpdate::ReliableUpdate</a></div><div class="ttdeci">ReliableUpdate(const string_vector_t *argv)</div><div class="ttdoc">Constructor that takes an argument vector. </div><div class="ttdef"><b>Definition:</b> Command.h:1431</div></div>
<div class="ttc" id="classblfwk_1_1_get_property_html"><div class="ttname"><a href="classblfwk_1_1_get_property.html">blfwk::GetProperty</a></div><div class="ttdoc">Represents the bootloader GetProperty command. </div><div class="ttdef"><b>Definition:</b> Command.h:802</div></div>
<div class="ttc" id="classblfwk_1_1_flash_security_disable_html_a454eb28fec7c95a8f66ac4ace7c1f9aa"><div class="ttname"><a href="classblfwk_1_1_flash_security_disable.html#a454eb28fec7c95a8f66ac4ace7c1f9aa">blfwk::FlashSecurityDisable::processResponse</a></div><div class="ttdeci">virtual bool processResponse(const uint8_t *packet)</div><div class="ttdoc">Check response packet. </div><div class="ttdef"><b>Definition:</b> Command.h:1268</div></div>
<div class="ttc" id="classblfwk_1_1_set_property_html_a52ba6ac4813c6c47609202253c9b4524"><div class="ttname"><a href="classblfwk_1_1_set_property.html#a52ba6ac4813c6c47609202253c9b4524">blfwk::SetProperty::m_propertyTag</a></div><div class="ttdeci">uint32_t m_propertyTag</div><div class="ttdoc">Property tag. </div><div class="ttdef"><b>Definition:</b> Command.h:879</div></div>
<div class="ttc" id="classblfwk_1_1_command_html_a592dccb30df743284e6a12d59f874d23"><div class="ttname"><a href="classblfwk_1_1_command.html#a592dccb30df743284e6a12d59f874d23">blfwk::Command::Command</a></div><div class="ttdeci">Command(const string_vector_t *argv)</div><div class="ttdoc">Constructor that takes a command name and list of arguments. </div><div class="ttdef"><b>Definition:</b> Command.h:332</div></div>
<div class="ttc" id="classblfwk_1_1_execute_html_a66453e35b91f3f7dcaac44ae5f0e6996"><div class="ttname"><a href="classblfwk_1_1_execute.html#a66453e35b91f3f7dcaac44ae5f0e6996">blfwk::Execute::processResponse</a></div><div class="ttdeci">virtual bool processResponse(const uint8_t *packet)</div><div class="ttdoc">Check response packet. </div><div class="ttdef"><b>Definition:</b> Command.h:1198</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_1_1_segment_data_producer_html_aaf3b6a7286819fd2bdafbde54f2dca58"><div class="ttname"><a href="classblfwk_1_1_data_packet_1_1_segment_data_producer.html#aaf3b6a7286819fd2bdafbde54f2dca58">blfwk::DataPacket::SegmentDataProducer::getDataSize</a></div><div class="ttdeci">virtual uint32_t getDataSize() const </div><div class="ttdoc">Query the total size of the data. </div><div class="ttdef"><b>Definition:</b> Command.h:636</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_1_1_file_data_producer_html_ac0196a3f775f771beccf78341f4a76dd"><div class="ttname"><a href="classblfwk_1_1_data_packet_1_1_file_data_producer.html#ac0196a3f775f771beccf78341f4a76dd">blfwk::DataPacket::FileDataProducer::~FileDataProducer</a></div><div class="ttdeci">virtual ~FileDataProducer()</div><div class="ttdoc">Destructor. </div><div class="ttdef"><b>Definition:</b> Command.h:533</div></div>
<div class="ttc" id="classblfwk_1_1_progress_html_ab33039c5a99c87f4bb197d8a77787841"><div class="ttname"><a href="classblfwk_1_1_progress.html#ab33039c5a99c87f4bb197d8a77787841">blfwk::Progress::m_segmentIndex</a></div><div class="ttdeci">int m_segmentIndex</div><div class="ttdoc">Index of data segment in progressing. </div><div class="ttdef"><b>Definition:</b> Command.h:284</div></div>
<div class="ttc" id="classblfwk_1_1_data_source_1_1_segment_html_a426897327bc9930ac7291cf7ef80be0e"><div class="ttname"><a href="classblfwk_1_1_data_source_1_1_segment.html#a426897327bc9930ac7291cf7ef80be0e">blfwk::DataSource::Segment::getBaseAddress</a></div><div class="ttdeci">virtual uint32_t getBaseAddress()</div><div class="ttdoc">Returns the address associated with the segment. </div><div class="ttdef"><b>Definition:</b> src/blfwk/DataSource.h:95</div></div>
<div class="ttc" id="structblfwk_1_1_status_message_table_entry_html_ad5f3428fa39b2152951485d371336eab"><div class="ttname"><a href="structblfwk_1_1_status_message_table_entry.html#ad5f3428fa39b2152951485d371336eab">blfwk::StatusMessageTableEntry::message</a></div><div class="ttdeci">const std::string message</div><div class="ttdoc">Description of the status. </div><div class="ttdef"><b>Definition:</b> Command.h:212</div></div>
<div class="ttc" id="classblfwk_1_1_command_html_aa909283ea9160b21d9673b75365f23e6"><div class="ttname"><a href="classblfwk_1_1_command.html#aa909283ea9160b21d9673b75365f23e6">blfwk::Command::registerProgress</a></div><div class="ttdeci">void registerProgress(Progress *progress)</div><div class="ttdoc">initial the process callback. </div><div class="ttdef"><b>Definition:</b> Command.h:384</div></div>
<div class="ttc" id="classblfwk_1_1_set_property_html_ac6301ed2be00f09cf4dcc1e170e1c42f"><div class="ttname"><a href="classblfwk_1_1_set_property.html#ac6301ed2be00f09cf4dcc1e170e1c42f">blfwk::SetProperty::processResponse</a></div><div class="ttdeci">virtual bool processResponse(const uint8_t *packet)</div><div class="ttdoc">Check generic response packet. </div><div class="ttdef"><b>Definition:</b> Command.h:872</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_1_1_hex_data_producer_html_ab3d48c5529a970d1f1a2f8cfaccdb711"><div class="ttname"><a href="classblfwk_1_1_data_packet_1_1_hex_data_producer.html#ab3d48c5529a970d1f1a2f8cfaccdb711">blfwk::DataPacket::HexDataProducer::HexDataProducer</a></div><div class="ttdeci">HexDataProducer(const uchar_vector_t &amp;data)</div><div class="ttdoc">Constructor that takes a vector&lt;uchar&gt; parameter. </div><div class="ttdef"><b>Definition:</b> Command.h:580</div></div>
<div class="ttc" id="namespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div><div class="ttdoc">STL namespace. </div></div>
<div class="ttc" id="structblfwk_1_1_status_message_table_entry_html_a62bebf439f2e0d970fb56aef981f351b"><div class="ttname"><a href="structblfwk_1_1_status_message_table_entry.html#a62bebf439f2e0d970fb56aef981f351b">blfwk::StatusMessageTableEntry::status</a></div><div class="ttdeci">int32_t status</div><div class="ttdoc">Status code value. </div><div class="ttdef"><b>Definition:</b> Command.h:211</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_1_1_file_data_producer_html"><div class="ttname"><a href="classblfwk_1_1_data_packet_1_1_file_data_producer.html">blfwk::DataPacket::FileDataProducer</a></div><div class="ttdoc">Provide file data for data phase. </div><div class="ttdef"><b>Definition:</b> Command.h:521</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_1_1_segment_data_producer_html"><div class="ttname"><a href="classblfwk_1_1_data_packet_1_1_segment_data_producer.html">blfwk::DataPacket::SegmentDataProducer</a></div><div class="ttdoc">Provide DataSource::Segment data for data phase. </div><div class="ttdef"><b>Definition:</b> Command.h:616</div></div>
<div class="ttc" id="classblfwk_1_1_command_html_a8c5616ea53b2386c5f6dd5ca42e8f750"><div class="ttname"><a href="classblfwk_1_1_command.html#a8c5616ea53b2386c5f6dd5ca42e8f750">blfwk::Command::sendTo</a></div><div class="ttdeci">virtual void sendTo(Packetizer &amp;packetizer)</div><div class="ttdoc">Send command to packetizer and on to peripheral. </div><div class="ttdef"><b>Definition:</b> Command.h:370</div></div>
<div class="ttc" id="classblfwk_1_1_command_packet_html_a53cd71af0625af82f9c66bcc63349e0d"><div class="ttname"><a href="classblfwk_1_1_command_packet.html#a53cd71af0625af82f9c66bcc63349e0d">blfwk::CommandPacket::CommandPacket</a></div><div class="ttdeci">CommandPacket(uint8_t tag, uint8_t flags=0)</div><div class="ttdoc">Constructor that takes no command arguments. </div><div class="ttdef"><b>Definition:</b> Command.h:433</div></div>
<div class="ttc" id="classblfwk_1_1_flash_security_disable_html_a7d0ce6f4ca9600c945dc0282db4a51bb"><div class="ttname"><a href="classblfwk_1_1_flash_security_disable.html#a7d0ce6f4ca9600c945dc0282db4a51bb">blfwk::FlashSecurityDisable::FlashSecurityDisable</a></div><div class="ttdeci">FlashSecurityDisable(uint32_t keyHigh, uint32_t keyLow)</div><div class="ttdoc">Constructor that takes the key. </div><div class="ttdef"><b>Definition:</b> Command.h:1253</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_1_1_file_data_producer_html_af51e5d76760d84ab2b8e91bf1f23847b"><div class="ttname"><a href="classblfwk_1_1_data_packet_1_1_file_data_producer.html#af51e5d76760d84ab2b8e91bf1f23847b">blfwk::DataPacket::FileDataProducer::m_filePath</a></div><div class="ttdeci">std::string m_filePath</div><div class="ttdoc">Data file path. </div><div class="ttdef"><b>Definition:</b> Command.h:561</div></div>
<div class="ttc" id="classblfwk_1_1_reliable_update_html_af6cc4a7648738b6bfab65131e03e5e92"><div class="ttname"><a href="classblfwk_1_1_reliable_update.html#af6cc4a7648738b6bfab65131e03e5e92">blfwk::ReliableUpdate::m_address</a></div><div class="ttdeci">uint32_t m_address</div><div class="ttdoc">Destination address. </div><div class="ttdef"><b>Definition:</b> Command.h:1451</div></div>
<div class="ttc" id="classblfwk_1_1_configure_i2c_html_a1e4d00f0da43537e65da42e34bed508d"><div class="ttname"><a href="classblfwk_1_1_configure_i2c.html#a1e4d00f0da43537e65da42e34bed508d">blfwk::ConfigureI2c::processResponse</a></div><div class="ttdeci">virtual bool processResponse(const uint8_t *packet)</div><div class="ttdoc">Check generic response packet. </div><div class="ttdef"><b>Definition:</b> Command.h:1515</div></div>
<div class="ttc" id="classblfwk_1_1_set_property_html_a156f8c268345b8e6cd68d1645ae2a9b4"><div class="ttname"><a href="classblfwk_1_1_set_property.html#a156f8c268345b8e6cd68d1645ae2a9b4">blfwk::SetProperty::SetProperty</a></div><div class="ttdeci">SetProperty(const string_vector_t *argv)</div><div class="ttdoc">Constructor that takes an argument vector. </div><div class="ttdef"><b>Definition:</b> Command.h:849</div></div>
<div class="ttc" id="classblfwk_1_1_command_packet_html_a002f9721368f1406fea60fbd4a17efd5"><div class="ttname"><a href="classblfwk_1_1_command_packet.html#a002f9721368f1406fea60fbd4a17efd5">blfwk::CommandPacket::CommandPacket</a></div><div class="ttdeci">CommandPacket(uint8_t tag, uint8_t flags, uint32_t arg1, uint32_t arg2)</div><div class="ttdoc">Constructor that takes two command arguments. </div><div class="ttdef"><b>Definition:</b> Command.h:448</div></div>
<div class="ttc" id="classblfwk_1_1_write_memory_html_a5359b47e1cd1217861951280066daf11"><div class="ttname"><a href="classblfwk_1_1_write_memory.html#a5359b47e1cd1217861951280066daf11">blfwk::WriteMemory::WriteMemory</a></div><div class="ttdeci">WriteMemory(uint32_t address, const uchar_vector_t &amp;data)</div><div class="ttdoc">Constructor that takes an uchar_vector_t argument. </div><div class="ttdef"><b>Definition:</b> Command.h:1062</div></div>
<div class="ttc" id="classblfwk_1_1_write_memory_html_a67c473e5df27918c6a79638e1196eca1"><div class="ttname"><a href="classblfwk_1_1_write_memory.html#a67c473e5df27918c6a79638e1196eca1">blfwk::WriteMemory::m_startAddress</a></div><div class="ttdeci">uint32_t m_startAddress</div><div class="ttdoc">Destination memory address. </div><div class="ttdef"><b>Definition:</b> Command.h:1091</div></div>
<div class="ttc" id="classblfwk_1_1_flash_erase_region_html"><div class="ttname"><a href="classblfwk_1_1_flash_erase_region.html">blfwk::FlashEraseRegion</a></div><div class="ttdoc">Represents the bootloader Flash Erase command. </div><div class="ttdef"><b>Definition:</b> Command.h:886</div></div>
<div class="ttc" id="classblfwk_1_1_flash_erase_all_unsecure_html_a91770a4ef87d67e48315ef608e590a80"><div class="ttname"><a href="classblfwk_1_1_flash_erase_all_unsecure.html#a91770a4ef87d67e48315ef608e590a80">blfwk::FlashEraseAllUnsecure::FlashEraseAllUnsecure</a></div><div class="ttdeci">FlashEraseAllUnsecure(const string_vector_t *argv)</div><div class="ttdoc">Constructor that takes an argument vector. </div><div class="ttdef"><b>Definition:</b> Command.h:969</div></div>
<div class="ttc" id="classblfwk_1_1_fill_memory_html_a1de343fb65656c4cd6f2531ea982ef88"><div class="ttname"><a href="classblfwk_1_1_fill_memory.html#a1de343fb65656c4cd6f2531ea982ef88">blfwk::FillMemory::processResponse</a></div><div class="ttdeci">virtual bool processResponse(const uint8_t *packet)</div><div class="ttdoc">Check response packet. </div><div class="ttdef"><b>Definition:</b> Command.h:1116</div></div>
<div class="ttc" id="classblfwk_1_1_write_memory_html_ad4136995db954a0d2fa91f2779cf57a0"><div class="ttname"><a href="classblfwk_1_1_write_memory.html#ad4136995db954a0d2fa91f2779cf57a0">blfwk::WriteMemory::m_data</a></div><div class="ttdeci">uchar_vector_t m_data</div><div class="ttdoc">The data to write to the device. </div><div class="ttdef"><b>Definition:</b> Command.h:1093</div></div>
<div class="ttc" id="classblfwk_1_1_flash_image_html_a90eef495f36a323b0a1963d0555be90f"><div class="ttname"><a href="classblfwk_1_1_flash_image.html#a90eef495f36a323b0a1963d0555be90f">blfwk::FlashImage::m_sourceFile</a></div><div class="ttdeci">SourceFile * m_sourceFile</div><div class="ttdoc">Sourcefile object containing the data and addresses. </div><div class="ttdef"><b>Definition:</b> Command.h:1491</div></div>
<div class="ttc" id="classblfwk_1_1_set_property_html_aaee8b020e9e73eb9168ee43cb5ac7aa6"><div class="ttname"><a href="classblfwk_1_1_set_property.html#aaee8b020e9e73eb9168ee43cb5ac7aa6">blfwk::SetProperty::m_propertyValue</a></div><div class="ttdeci">uint32_t m_propertyValue</div><div class="ttdoc">Value to set. </div><div class="ttdef"><b>Definition:</b> Command.h:880</div></div>
<div class="ttc" id="classblfwk_1_1_receive_sb_file_html_adffd388d84187436d895c77c960d165e"><div class="ttname"><a href="classblfwk_1_1_receive_sb_file.html#adffd388d84187436d895c77c960d165e">blfwk::ReceiveSbFile::ReceiveSbFile</a></div><div class="ttdeci">ReceiveSbFile(const string_vector_t *argv)</div><div class="ttdoc">Constructor that takes an argument vector. </div><div class="ttdef"><b>Definition:</b> Command.h:1135</div></div>
<div class="ttc" id="classblfwk_1_1_flash_program_once_html_a67efa476c8ecbeb26d329badf1daff7f"><div class="ttname"><a href="classblfwk_1_1_flash_program_once.html#a67efa476c8ecbeb26d329badf1daff7f">blfwk::FlashProgramOnce::FlashProgramOnce</a></div><div class="ttdeci">FlashProgramOnce(const string_vector_t *argv)</div><div class="ttdoc">Constructor that takes an argument vector. </div><div class="ttdef"><b>Definition:</b> Command.h:1286</div></div>
<div class="ttc" id="classblfwk_1_1_flash_program_once_html_a779a2848d92b1f223ffb88b24adbf8a2"><div class="ttname"><a href="classblfwk_1_1_flash_program_once.html#a779a2848d92b1f223ffb88b24adbf8a2">blfwk::FlashProgramOnce::processResponse</a></div><div class="ttdeci">virtual bool processResponse(const uint8_t *packet)</div><div class="ttdoc">Check response packet. </div><div class="ttdef"><b>Definition:</b> Command.h:1309</div></div>
<div class="ttc" id="classblfwk_1_1_flash_image_html_a64640ba021a06762a46b9c935fe43d1a"><div class="ttname"><a href="classblfwk_1_1_flash_image.html#a64640ba021a06762a46b9c935fe43d1a">blfwk::FlashImage::m_sectorSize</a></div><div class="ttdeci">uint32_t m_sectorSize</div><div class="ttdoc">Flash sector size of current target. </div><div class="ttdef"><b>Definition:</b> Command.h:1489</div></div>
<div class="ttc" id="classblfwk_1_1_reset_html_aa08add4bbd5b19f278de1545471a73f5"><div class="ttname"><a href="classblfwk_1_1_reset.html#aa08add4bbd5b19f278de1545471a73f5">blfwk::Reset::Reset</a></div><div class="ttdeci">Reset()</div><div class="ttdoc">Default constructor. </div><div class="ttdef"><b>Definition:</b> Command.h:780</div></div>
<div class="ttc" id="classblfwk_1_1_configure_spi_html_a07f9ac278c7b7736b3a80c865ccc3d7e"><div class="ttname"><a href="classblfwk_1_1_configure_spi.html#a07f9ac278c7b7736b3a80c865ccc3d7e">blfwk::ConfigureSpi::processResponse</a></div><div class="ttdeci">virtual bool processResponse(const uint8_t *packet)</div><div class="ttdoc">Check generic response packet. </div><div class="ttdef"><b>Definition:</b> Command.h:1546</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_1_1_hex_data_producer_html_a84c58653a12e725cc28d5a05abdf8f3c"><div class="ttname"><a href="classblfwk_1_1_data_packet_1_1_hex_data_producer.html#a84c58653a12e725cc28d5a05abdf8f3c">blfwk::DataPacket::HexDataProducer::~HexDataProducer</a></div><div class="ttdeci">virtual ~HexDataProducer()</div><div class="ttdoc">Destructor. </div><div class="ttdef"><b>Definition:</b> Command.h:594</div></div>
<div class="ttc" id="classblfwk_1_1_read_memory_html_aac5cb95372e4a5ccc96d3baafc43dcbd"><div class="ttname"><a href="classblfwk_1_1_read_memory.html#aac5cb95372e4a5ccc96d3baafc43dcbd">blfwk::ReadMemory::m_dataFile</a></div><div class="ttdeci">std::string m_dataFile</div><div class="ttdoc">Data file path. </div><div class="ttdef"><b>Definition:</b> Command.h:1026</div></div>
<div class="ttc" id="classblfwk_1_1_configure_can_html_a90eab24b0ec8ff317b1e8568cf8b318b"><div class="ttname"><a href="classblfwk_1_1_configure_can.html#a90eab24b0ec8ff317b1e8568cf8b318b">blfwk::ConfigureCan::ConfigureCan</a></div><div class="ttdeci">ConfigureCan(const string_vector_t *argv)</div><div class="ttdoc">Constructor that takes an argument vector. </div><div class="ttdef"><b>Definition:</b> Command.h:1566</div></div>
<div class="ttc" id="classblfwk_1_1_configure_quad_spi_html_ab9b1a089efb2ecddd75b79b683724146"><div class="ttname"><a href="classblfwk_1_1_configure_quad_spi.html#ab9b1a089efb2ecddd75b79b683724146">blfwk::ConfigureQuadSpi::ConfigureQuadSpi</a></div><div class="ttdeci">ConfigureQuadSpi(const string_vector_t *argv)</div><div class="ttdoc">Constructor that takes an argument vector. </div><div class="ttdef"><b>Definition:</b> Command.h:1400</div></div>
<div class="ttc" id="classblfwk_1_1_reliable_update_html_a0ef131c04cba7a3d1250273d87d5c3dd"><div class="ttname"><a href="classblfwk_1_1_reliable_update.html#a0ef131c04cba7a3d1250273d87d5c3dd">blfwk::ReliableUpdate::processResponse</a></div><div class="ttdeci">virtual bool processResponse(const uint8_t *packet)</div><div class="ttdoc">Check response packet. </div><div class="ttdef"><b>Definition:</b> Command.h:1444</div></div>
<div class="ttc" id="classblfwk_1_1_fill_memory_html_a0305c313dfaa686d424fc04901ce1d8a"><div class="ttname"><a href="classblfwk_1_1_fill_memory.html#a0305c313dfaa686d424fc04901ce1d8a">blfwk::FillMemory::m_byteCount</a></div><div class="ttdeci">uint32_t m_byteCount</div><div class="ttdoc">Number of bytes to fill. </div><div class="ttdef"><b>Definition:</b> Command.h:1124</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_1_1_std_out_data_consumer_html_a9b2000292068b2d37c6047f8b8098c20"><div class="ttname"><a href="classblfwk_1_1_data_packet_1_1_std_out_data_consumer.html#a9b2000292068b2d37c6047f8b8098c20">blfwk::DataPacket::StdOutDataConsumer::StdOutDataConsumer</a></div><div class="ttdeci">StdOutDataConsumer()</div><div class="ttdoc">Constructor. </div><div class="ttdef"><b>Definition:</b> Command.h:708</div></div>
<div class="ttc" id="classblfwk_1_1_reset_html"><div class="ttname"><a href="classblfwk_1_1_reset.html">blfwk::Reset</a></div><div class="ttdoc">Represents the bootloader Reset command. </div><div class="ttdef"><b>Definition:</b> Command.h:770</div></div>
<div class="ttc" id="classblfwk_1_1_flash_image_html_a9c1bef23bbbd5c9764b15894240f20d7"><div class="ttname"><a href="classblfwk_1_1_flash_image.html#a9c1bef23bbbd5c9764b15894240f20d7">blfwk::FlashImage::FlashImage</a></div><div class="ttdeci">FlashImage(const string_vector_t *argv)</div><div class="ttdoc">Constructor that takes an argument vector. </div><div class="ttdef"><b>Definition:</b> Command.h:1461</div></div>
<div class="ttc" id="classblfwk_1_1_command_html_a74034125054c2ea174c8f5f26a902a2e"><div class="ttname"><a href="classblfwk_1_1_command.html#a74034125054c2ea174c8f5f26a902a2e">blfwk::Command::getArg</a></div><div class="ttdeci">virtual std::string getArg(int arg) const </div><div class="ttdoc">Get the specified argument. </div><div class="ttdef"><b>Definition:</b> Command.h:362</div></div>
<div class="ttc" id="structblfwk_1_1peripheral__t_html"><div class="ttname"><a href="structblfwk_1_1peripheral__t.html">blfwk::peripheral_t</a></div><div class="ttdef"><b>Definition:</b> Command.h:181</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_html_ae959185de331aca28b7d37ac018ba78e"><div class="ttname"><a href="classblfwk_1_1_data_packet.html#ae959185de331aca28b7d37ac018ba78e">blfwk::DataPacket::DataPacket</a></div><div class="ttdeci">DataPacket(DataConsumer *dataConsumer)</div><div class="ttdoc">Constructor that takes a DataConsumer. </div><div class="ttdef"><b>Definition:</b> Command.h:743</div></div>
<div class="ttc" id="classblfwk_1_1_execute_html_a4948fb9213122bb8b4eca830c975cb24"><div class="ttname"><a href="classblfwk_1_1_execute.html#a4948fb9213122bb8b4eca830c975cb24">blfwk::Execute::m_jumpAddress</a></div><div class="ttdeci">uint32_t m_jumpAddress</div><div class="ttdoc">Destination memory address to jump to. </div><div class="ttdef"><b>Definition:</b> Command.h:1205</div></div>
<div class="ttc" id="classblfwk_1_1_flash_security_disable_html_a9a9bd8b9e0f8b38b82bd697efdf98fdf"><div class="ttname"><a href="classblfwk_1_1_flash_security_disable.html#a9a9bd8b9e0f8b38b82bd697efdf98fdf">blfwk::FlashSecurityDisable::m_keyHigh</a></div><div class="ttdeci">uint32_t m_keyHigh</div><div class="ttdoc">Bytes 4-7 of the flash backdoor key. </div><div class="ttdef"><b>Definition:</b> Command.h:1276</div></div>
<div class="ttc" id="structblfwk_1_1cmd__t_html"><div class="ttname"><a href="structblfwk_1_1cmd__t.html">blfwk::cmd_t</a></div><div class="ttdef"><b>Definition:</b> Command.h:53</div></div>
<div class="ttc" id="classblfwk_1_1_flash_erase_all_unsecure_html"><div class="ttname"><a href="classblfwk_1_1_flash_erase_all_unsecure.html">blfwk::FlashEraseAllUnsecure</a></div><div class="ttdoc">Represents the bootloader Flash Erase All Unsecure command. </div><div class="ttdef"><b>Definition:</b> Command.h:965</div></div>
<div class="ttc" id="classblfwk_1_1_configure_i2c_html"><div class="ttname"><a href="classblfwk_1_1_configure_i2c.html">blfwk::ConfigureI2c</a></div><div class="ttdoc">Represents the bootloader Configure I2C command. </div><div class="ttdef"><b>Definition:</b> Command.h:1498</div></div>
<div class="ttc" id="classblfwk_1_1_receive_sb_file_html_afb00564d8bdfee2d93fdaa7e1c3df3b6"><div class="ttname"><a href="classblfwk_1_1_receive_sb_file.html#afb00564d8bdfee2d93fdaa7e1c3df3b6">blfwk::ReceiveSbFile::processResponse</a></div><div class="ttdeci">virtual bool processResponse(const uint8_t *packet)</div><div class="ttdoc">Check response packet. </div><div class="ttdef"><b>Definition:</b> Command.h:1156</div></div>
<div class="ttc" id="classblfwk_1_1_progress_html_a6fc912651119a802e0bcb6a0b381077f"><div class="ttname"><a href="classblfwk_1_1_progress.html#a6fc912651119a802e0bcb6a0b381077f">blfwk::Progress::registerCallback</a></div><div class="ttdeci">void registerCallback(void(*callback)(int, int, int), bool *abortPhase)</div><div class="ttdef"><b>Definition:</b> Command.h:277</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_1_1_hex_data_producer_html"><div class="ttname"><a href="classblfwk_1_1_data_packet_1_1_hex_data_producer.html">blfwk::DataPacket::HexDataProducer</a></div><div class="ttdoc">Provide data from hex string for data phase. </div><div class="ttdef"><b>Definition:</b> Command.h:569</div></div>
<div class="ttc" id="classblfwk_1_1_read_memory_html"><div class="ttname"><a href="classblfwk_1_1_read_memory.html">blfwk::ReadMemory</a></div><div class="ttdoc">Represents the bootloader Read Memory command. </div><div class="ttdef"><b>Definition:</b> Command.h:998</div></div>
<div class="ttc" id="classblfwk_1_1_configure_quad_spi_html"><div class="ttname"><a href="classblfwk_1_1_configure_quad_spi.html">blfwk::ConfigureQuadSpi</a></div><div class="ttdoc">Represents the bootloader Configure QuadSpi command. </div><div class="ttdef"><b>Definition:</b> Command.h:1396</div></div>
<div class="ttc" id="classblfwk_1_1_flash_read_resource_html_a82ec86a178bc3fa2bcddd0f3f6c9bc6a"><div class="ttname"><a href="classblfwk_1_1_flash_read_resource.html#a82ec86a178bc3fa2bcddd0f3f6c9bc6a">blfwk::FlashReadResource::m_option</a></div><div class="ttdeci">uint32_t m_option</div><div class="ttdoc">Resrouce to be read. </div><div class="ttdef"><b>Definition:</b> Command.h:1390</div></div>
<div class="ttc" id="classblfwk_1_1_command_html_aa1bf9f0fd9a1d8091ca1bfa22fe1b2bf"><div class="ttname"><a href="classblfwk_1_1_command.html#aa1bf9f0fd9a1d8091ca1bfa22fe1b2bf">blfwk::Command::Command</a></div><div class="ttdeci">Command(const char *const name)</div><div class="ttdoc">Constructor that takes a command name. </div><div class="ttdef"><b>Definition:</b> Command.h:343</div></div>
<div class="ttc" id="classblfwk_1_1_write_memory_html_a37907939674ffd3c2fec1918ab26bff1"><div class="ttname"><a href="classblfwk_1_1_write_memory.html#a37907939674ffd3c2fec1918ab26bff1">blfwk::WriteMemory::m_count</a></div><div class="ttdeci">uint32_t m_count</div><div class="ttdoc">Number of bytes to write. </div><div class="ttdef"><b>Definition:</b> Command.h:1092</div></div>
<div class="ttc" id="classblfwk_1_1_flash_erase_all_html_a5d1c37997c9e6d921a632e6c2a6d94b4"><div class="ttname"><a href="classblfwk_1_1_flash_erase_all.html#a5d1c37997c9e6d921a632e6c2a6d94b4">blfwk::FlashEraseAll::FlashEraseAll</a></div><div class="ttdeci">FlashEraseAll(uint32_t memoryId)</div><div class="ttdoc">Constructor that takes memory ID argument. </div><div class="ttdef"><b>Definition:</b> Command.h:937</div></div>
<div class="ttc" id="classblfwk_1_1_reset_html_aa672bdda403d102d0c0bf3802634233e"><div class="ttname"><a href="classblfwk_1_1_reset.html#aa672bdda403d102d0c0bf3802634233e">blfwk::Reset::processResponse</a></div><div class="ttdeci">virtual bool processResponse(const uint8_t *packet)</div><div class="ttdoc">Check response packet. </div><div class="ttdef"><b>Definition:</b> Command.h:793</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_1_1_hex_data_producer_html_ae7da0bf4f8d02201d25d088df93e599b"><div class="ttname"><a href="classblfwk_1_1_data_packet_1_1_hex_data_producer.html#ae7da0bf4f8d02201d25d088df93e599b">blfwk::DataPacket::HexDataProducer::m_byteIndex</a></div><div class="ttdeci">uint32_t m_byteIndex</div><div class="ttdoc">Current byte index. </div><div class="ttdef"><b>Definition:</b> Command.h:609</div></div>
<div class="ttc" id="classblfwk_1_1_command_packet_html_aaa92f2f4819d52ff5df89c41ccd53332"><div class="ttname"><a href="classblfwk_1_1_command_packet.html#aaa92f2f4819d52ff5df89c41ccd53332">blfwk::CommandPacket::_command_packet_constants</a></div><div class="ttdeci">_command_packet_constants</div><div class="ttdoc">Constants. </div><div class="ttdef"><b>Definition:</b> Command.h:410</div></div>
<div class="ttc" id="classblfwk_1_1_write_memory_html_a715bfe6c37c33cbd74e54c4f7ba0441b"><div class="ttname"><a href="classblfwk_1_1_write_memory.html#a715bfe6c37c33cbd74e54c4f7ba0441b">blfwk::WriteMemory::m_fileOrData</a></div><div class="ttdeci">std::string m_fileOrData</div><div class="ttdoc">Data file path or hex data string. </div><div class="ttdef"><b>Definition:</b> Command.h:1089</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_1_1_file_data_consumer_html_a17df96dbfad79472fc52f8a29a154ed7"><div class="ttname"><a href="classblfwk_1_1_data_packet_1_1_file_data_consumer.html#a17df96dbfad79472fc52f8a29a154ed7">blfwk::DataPacket::FileDataConsumer::finalize</a></div><div class="ttdeci">virtual void finalize()</div><div class="ttdoc">Finalize processing. </div><div class="ttdef"><b>Definition:</b> Command.h:689</div></div>
<div class="ttc" id="classblfwk_1_1_source_file_html"><div class="ttname"><a href="classblfwk_1_1_source_file.html">blfwk::SourceFile</a></div><div class="ttdoc">Abstract base class for a source file containing executable code. </div><div class="ttdef"><b>Definition:</b> src/blfwk/SourceFile.h:56</div></div>
<div class="ttc" id="classblfwk_1_1_flash_image_html_ad1a045fef15498c60bbc7489ec5290fd"><div class="ttname"><a href="classblfwk_1_1_flash_image.html#ad1a045fef15498c60bbc7489ec5290fd">blfwk::FlashImage::m_doEraseOpt</a></div><div class="ttdeci">bool m_doEraseOpt</div><div class="ttdoc">Detemine if doing erase operation before writting image file to flash. </div><div class="ttdef"><b>Definition:</b> Command.h:1492</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_1_1_std_out_data_consumer_html_a9ea8c08a2e98cd6d31b0921356a3d132"><div class="ttname"><a href="classblfwk_1_1_data_packet_1_1_std_out_data_consumer.html#a9ea8c08a2e98cd6d31b0921356a3d132">blfwk::DataPacket::StdOutDataConsumer::_constants</a></div><div class="ttdeci">_constants</div><div class="ttdef"><b>Definition:</b> Command.h:701</div></div>
<div class="ttc" id="classblfwk_1_1_flash_read_resource_html_a08861a0fc0a14ac171b0afe9a7594d9e"><div class="ttname"><a href="classblfwk_1_1_flash_read_resource.html#a08861a0fc0a14ac171b0afe9a7594d9e">blfwk::FlashReadResource::FlashReadResource</a></div><div class="ttdeci">FlashReadResource(const string_vector_t *argv)</div><div class="ttdoc">Constructor that takes an argument vector. </div><div class="ttdef"><b>Definition:</b> Command.h:1363</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_1_1_file_data_producer_html_ab0200a89c876c3b61c94f1de4391c00a"><div class="ttname"><a href="classblfwk_1_1_data_packet_1_1_file_data_producer.html#ab0200a89c876c3b61c94f1de4391c00a">blfwk::DataPacket::FileDataProducer::getDataSize</a></div><div class="ttdeci">virtual uint32_t getDataSize() const </div><div class="ttdoc">Query the total size of the data. </div><div class="ttdef"><b>Definition:</b> Command.h:552</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_1_1_file_data_consumer_html_a917fa0a8df72ae81af9b8a10b1327bca"><div class="ttname"><a href="classblfwk_1_1_data_packet_1_1_file_data_consumer.html#a917fa0a8df72ae81af9b8a10b1327bca">blfwk::DataPacket::FileDataConsumer::FileDataConsumer</a></div><div class="ttdeci">FileDataConsumer()</div><div class="ttdoc">Default constructor. </div><div class="ttdef"><b>Definition:</b> Command.h:669</div></div>
<div class="ttc" id="classblfwk_1_1_command_html_ad538fdc76f96c5166afb6f4440e7d349"><div class="ttname"><a href="classblfwk_1_1_command.html#ad538fdc76f96c5166afb6f4440e7d349">blfwk::Command::getName</a></div><div class="ttdeci">virtual std::string getName() const </div><div class="ttdoc">Get the command name (i.e. argv[0]). </div><div class="ttdef"><b>Definition:</b> Command.h:364</div></div>
<div class="ttc" id="classblfwk_1_1_flash_image_html"><div class="ttname"><a href="classblfwk_1_1_flash_image.html">blfwk::FlashImage</a></div><div class="ttdoc">Represents the Flash Image command used for downloading formatted file. </div><div class="ttdef"><b>Definition:</b> Command.h:1457</div></div>
<div class="ttc" id="classblfwk_1_1_set_property_html_a403dbbc91dac2f16840d4f6a3848b298"><div class="ttname"><a href="classblfwk_1_1_set_property.html#a403dbbc91dac2f16840d4f6a3848b298">blfwk::SetProperty::SetProperty</a></div><div class="ttdeci">SetProperty(property_t property, uint32_t value)</div><div class="ttdoc">Constructor that takes a property_t argument and the value to set. </div><div class="ttdef"><b>Definition:</b> Command.h:855</div></div>
<div class="ttc" id="classblfwk_1_1_flash_program_once_html_ac72aad06fafd263f9deb3813f124c329"><div class="ttname"><a href="classblfwk_1_1_flash_program_once.html#ac72aad06fafd263f9deb3813f124c329">blfwk::FlashProgramOnce::FlashProgramOnce</a></div><div class="ttdeci">FlashProgramOnce(uint32_t index, uint32_t byteCount, uint32_t dataLow, uint32_t dataHigh)</div><div class="ttdoc">Constructor that takes arguments. </div><div class="ttdef"><b>Definition:</b> Command.h:1292</div></div>
<div class="ttc" id="classblfwk_1_1_fill_memory_html_ae7eb08b519fbc7f3598ea4530cdfd7fb"><div class="ttname"><a href="classblfwk_1_1_fill_memory.html#ae7eb08b519fbc7f3598ea4530cdfd7fb">blfwk::FillMemory::FillMemory</a></div><div class="ttdeci">FillMemory(const string_vector_t *argv)</div><div class="ttdoc">Constructor that takes an argument vector. </div><div class="ttdef"><b>Definition:</b> Command.h:1103</div></div>
<div class="ttc" id="classblfwk_1_1_write_memory_html_a9c0086f28f4e8c6d73069a8385ebe583"><div class="ttname"><a href="classblfwk_1_1_write_memory.html#a9c0086f28f4e8c6d73069a8385ebe583">blfwk::WriteMemory::m_segment</a></div><div class="ttdeci">blfwk::DataSource::Segment * m_segment</div><div class="ttdoc">DataSource segment (instead of file or hex string). </div><div class="ttdef"><b>Definition:</b> Command.h:1090</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_1_1_segment_data_producer_html_a86f03eb291293806210588f09443ce54"><div class="ttname"><a href="classblfwk_1_1_data_packet_1_1_segment_data_producer.html#a86f03eb291293806210588f09443ce54">blfwk::DataPacket::SegmentDataProducer::m_byteIndex</a></div><div class="ttdeci">uint32_t m_byteIndex</div><div class="ttdoc">Current byte index. </div><div class="ttdef"><b>Definition:</b> Command.h:646</div></div>
<div class="ttc" id="classblfwk_1_1_command_packet_html_a7f5f4c5cc718477b050ca02fb81ccbbc"><div class="ttname"><a href="classblfwk_1_1_command_packet.html#a7f5f4c5cc718477b050ca02fb81ccbbc">blfwk::CommandPacket::m_numArguments</a></div><div class="ttdeci">int m_numArguments</div><div class="ttdoc">Number of command arguments. </div><div class="ttdef"><b>Definition:</b> Command.h:487</div></div>
<div class="ttc" id="classblfwk_1_1_get_property_html_a6fd65cb73e0e475476c16c3590818135"><div class="ttname"><a href="classblfwk_1_1_get_property.html#a6fd65cb73e0e475476c16c3590818135">blfwk::GetProperty::GetProperty</a></div><div class="ttdeci">GetProperty(const string_vector_t *argv)</div><div class="ttdoc">Constructor that takes an argument vector. </div><div class="ttdef"><b>Definition:</b> Command.h:806</div></div>
<div class="ttc" id="structblfwk_1_1_command_packet_1_1_packet_with_args_html_a9822696d15d0a929e243dcb014079ba8"><div class="ttname"><a href="structblfwk_1_1_command_packet_1_1_packet_with_args.html#a9822696d15d0a929e243dcb014079ba8">blfwk::CommandPacket::PacketWithArgs::init</a></div><div class="ttdeci">void init(uint8_t tag, uint8_t flags, uint8_t numArguments)</div><div class="ttdoc">Initialize the command packet. </div><div class="ttdef"><b>Definition:</b> Command.h:420</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_1_1_std_out_data_consumer_html_a43677008f5d0f889768cf4d3ae98824c"><div class="ttname"><a href="classblfwk_1_1_data_packet_1_1_std_out_data_consumer.html#a43677008f5d0f889768cf4d3ae98824c">blfwk::DataPacket::StdOutDataConsumer::m_currentCount</a></div><div class="ttdeci">uint32_t m_currentCount</div><div class="ttdoc">Current byte being processed, starts at 1. </div><div class="ttdef"><b>Definition:</b> Command.h:731</div></div>
<div class="ttc" id="classblfwk_1_1_command_html_a6077654f4fffadd3ef014ce142f72f43"><div class="ttname"><a href="classblfwk_1_1_command.html#a6077654f4fffadd3ef014ce142f72f43">blfwk::Command::m_responseDetails</a></div><div class="ttdeci">string m_responseDetails</div><div class="ttdoc">Descriptive response. </div><div class="ttdef"><b>Definition:</b> Command.h:398</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_html_ab5ba6cd0eaac51de22f7dea20db06e0d"><div class="ttname"><a href="classblfwk_1_1_data_packet.html#ab5ba6cd0eaac51de22f7dea20db06e0d">blfwk::DataPacket::m_dataProducer</a></div><div class="ttdeci">DataProducer * m_dataProducer</div><div class="ttdoc">Provides data for the packet. </div><div class="ttdef"><b>Definition:</b> Command.h:760</div></div>
<div class="ttc" id="classblfwk_1_1_configure_can_html_af1fa772bf30642ff039937e0cac6be13"><div class="ttname"><a href="classblfwk_1_1_configure_can.html#af1fa772bf30642ff039937e0cac6be13">blfwk::ConfigureCan::processResponse</a></div><div class="ttdeci">virtual bool processResponse(const uint8_t *packet)</div><div class="ttdoc">Check generic response packet. </div><div class="ttdef"><b>Definition:</b> Command.h:1579</div></div>
<div class="ttc" id="classblfwk_1_1_progress_html_a22fdff62e531d87b5f3a36e14e2ad057"><div class="ttname"><a href="classblfwk_1_1_progress.html#a22fdff62e531d87b5f3a36e14e2ad057">blfwk::Progress::Progress</a></div><div class="ttdeci">Progress(void(*callback)(int, int, int), bool *abortPhase)</div><div class="ttdoc">Constructor with initial callback. </div><div class="ttdef"><b>Definition:</b> Command.h:238</div></div>
<div class="ttc" id="classblfwk_1_1_command_packet_html_a042c08cf996d7ee9a967318f7fa599b7"><div class="ttname"><a href="classblfwk_1_1_command_packet.html#a042c08cf996d7ee9a967318f7fa599b7">blfwk::CommandPacket::m_packet</a></div><div class="ttdeci">PacketWithArgs m_packet</div><div class="ttdoc">Command packet data. </div><div class="ttdef"><b>Definition:</b> Command.h:488</div></div>
<div class="ttc" id="classblfwk_1_1_command_html_aa0a4a4e68422e1f76c2bfdd472a36583"><div class="ttname"><a href="classblfwk_1_1_command.html#aa0a4a4e68422e1f76c2bfdd472a36583">blfwk::Command::~Command</a></div><div class="ttdeci">virtual ~Command()</div><div class="ttdoc">Destructor. </div><div class="ttdef"><b>Definition:</b> Command.h:353</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_1_1_file_data_consumer_html_af4f2e91dba2f730fce70f7910c434684"><div class="ttname"><a href="classblfwk_1_1_data_packet_1_1_file_data_consumer.html#af4f2e91dba2f730fce70f7910c434684">blfwk::DataPacket::FileDataConsumer::m_filePointer</a></div><div class="ttdeci">FILE * m_filePointer</div><div class="ttdoc">Data file pointer. </div><div class="ttdef"><b>Definition:</b> Command.h:692</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_1_1_file_data_producer_html_a2fa9702fb164af16072525432654248e"><div class="ttname"><a href="classblfwk_1_1_data_packet_1_1_file_data_producer.html#a2fa9702fb164af16072525432654248e">blfwk::DataPacket::FileDataProducer::FileDataProducer</a></div><div class="ttdeci">FileDataProducer()</div><div class="ttdoc">Default constructor. </div><div class="ttdef"><b>Definition:</b> Command.h:525</div></div>
<div class="ttc" id="structblfwk_1_1_command_packet_1_1_packet_with_args_html"><div class="ttname"><a href="structblfwk_1_1_command_packet_1_1_packet_with_args.html">blfwk::CommandPacket::PacketWithArgs</a></div><div class="ttdoc">Format of command packet. </div><div class="ttdef"><b>Definition:</b> Command.h:417</div></div>
<div class="ttc" id="classblfwk_1_1_flash_read_once_html_afb197155530232aad86ec24745ed37aa"><div class="ttname"><a href="classblfwk_1_1_flash_read_once.html#afb197155530232aad86ec24745ed37aa">blfwk::FlashReadOnce::m_byteCount</a></div><div class="ttdeci">uint32_t m_byteCount</div><div class="ttdoc">Number of bytes to be read. </div><div class="ttdef"><b>Definition:</b> Command.h:1353</div></div>
<div class="ttc" id="classblfwk_1_1_data_source_1_1_segment_html"><div class="ttname"><a href="classblfwk_1_1_data_source_1_1_segment.html">blfwk::DataSource::Segment</a></div><div class="ttdoc">Discrete, contiguous part of the source&amp;#39;s data. </div><div class="ttdef"><b>Definition:</b> src/blfwk/DataSource.h:65</div></div>
<div class="ttc" id="classblfwk_1_1_command_packet_html_a478ab252b0f34da571bb6dae3853c9b8"><div class="ttname"><a href="classblfwk_1_1_command_packet.html#a478ab252b0f34da571bb6dae3853c9b8">blfwk::CommandPacket::CommandPacket</a></div><div class="ttdeci">CommandPacket(uint8_t tag, uint8_t flags, uint32_t arg)</div><div class="ttdoc">Constructor that takes one command argument. </div><div class="ttdef"><b>Definition:</b> Command.h:440</div></div>
<div class="ttc" id="classblfwk_1_1_bus_pal_html_a032b21d6ebbd41de467492fb047bfff8"><div class="ttname"><a href="classblfwk_1_1_bus_pal.html#a032b21d6ebbd41de467492fb047bfff8">blfwk::BusPal::spi_clock_polarity_t</a></div><div class="ttdeci">spi_clock_polarity_t</div><div class="ttdoc">SPI clock polarity configuration. </div><div class="ttdef"><b>Definition:</b> BusPal.h:74</div></div>
<div class="ttc" id="classblfwk_1_1_configure_can_html"><div class="ttname"><a href="classblfwk_1_1_configure_can.html">blfwk::ConfigureCan</a></div><div class="ttdoc">Represents the bootloader Configure CAN command. </div><div class="ttdef"><b>Definition:</b> Command.h:1562</div></div>
<div class="ttc" id="classblfwk_1_1_get_property_html_a978528e55e3d423e60129cac28196199"><div class="ttname"><a href="classblfwk_1_1_get_property.html#a978528e55e3d423e60129cac28196199">blfwk::GetProperty::m_property</a></div><div class="ttdeci">property_t m_property</div><div class="ttdoc">Property tag. </div><div class="ttdef"><b>Definition:</b> Command.h:838</div></div>
<div class="ttc" id="structblfwk_1_1_command_packet_1_1_packet_with_args_html_abdb381ebdecbbe2e3af2af0086fd3f1c"><div class="ttname"><a href="structblfwk_1_1_command_packet_1_1_packet_with_args.html#abdb381ebdecbbe2e3af2af0086fd3f1c">blfwk::CommandPacket::PacketWithArgs::m_header</a></div><div class="ttdeci">command_packet_t m_header</div><div class="ttdoc">Packet header. </div><div class="ttdef"><b>Definition:</b> Command.h:427</div></div>
<div class="ttc" id="classblfwk_1_1_progress_html_a4ca54904334a795fbd1ea2be680011e0"><div class="ttname"><a href="classblfwk_1_1_progress.html#a4ca54904334a795fbd1ea2be680011e0">blfwk::Progress::~Progress</a></div><div class="ttdeci">~Progress()</div><div class="ttdoc">Default destructor. </div><div class="ttdef"><b>Definition:</b> Command.h:247</div></div>
<div class="ttc" id="classblfwk_1_1_reliable_update_html"><div class="ttname"><a href="classblfwk_1_1_reliable_update.html">blfwk::ReliableUpdate</a></div><div class="ttdoc">Represents the bootloader Reliable Update command. </div><div class="ttdef"><b>Definition:</b> Command.h:1427</div></div>
<div class="ttc" id="classblfwk_1_1_bus_pal_html_ae0fcbb292f846c40a93219e55d92bc6c"><div class="ttname"><a href="classblfwk_1_1_bus_pal.html#ae0fcbb292f846c40a93219e55d92bc6c">blfwk::BusPal::spi_clock_phase_t</a></div><div class="ttdeci">spi_clock_phase_t</div><div class="ttdoc">SPI clock phase configuration. </div><div class="ttdef"><b>Definition:</b> BusPal.h:81</div></div>
<div class="ttc" id="classblfwk_1_1_write_memory_html"><div class="ttname"><a href="classblfwk_1_1_write_memory.html">blfwk::WriteMemory</a></div><div class="ttdoc">Represents the bootloader Write Memory command. </div><div class="ttdef"><b>Definition:</b> Command.h:1034</div></div>
<div class="ttc" id="classblfwk_1_1_fill_memory_html_a83cdcf5d33c2c61f92d8c7259ab3d4c9"><div class="ttname"><a href="classblfwk_1_1_fill_memory.html#a83cdcf5d33c2c61f92d8c7259ab3d4c9">blfwk::FillMemory::m_startAddress</a></div><div class="ttdeci">uint32_t m_startAddress</div><div class="ttdoc">Destination memory address. </div><div class="ttdef"><b>Definition:</b> Command.h:1123</div></div>
<div class="ttc" id="classblfwk_1_1_flash_read_once_html_a1fbe5ff7c75c7941f39eb8e7c5111607"><div class="ttname"><a href="classblfwk_1_1_flash_read_once.html#a1fbe5ff7c75c7941f39eb8e7c5111607">blfwk::FlashReadOnce::FlashReadOnce</a></div><div class="ttdeci">FlashReadOnce(const string_vector_t *argv)</div><div class="ttdoc">Constructor that takes an argument vector. </div><div class="ttdef"><b>Definition:</b> Command.h:1329</div></div>
<div class="ttc" id="classblfwk_1_1_call_html_a5b000cd4afc0d07dbbf23198ad401bfa"><div class="ttname"><a href="classblfwk_1_1_call.html#a5b000cd4afc0d07dbbf23198ad401bfa">blfwk::Call::processResponse</a></div><div class="ttdeci">virtual bool processResponse(const uint8_t *packet)</div><div class="ttdoc">Check response packet. </div><div class="ttdef"><b>Definition:</b> Command.h:1230</div></div>
<div class="ttc" id="classblfwk_1_1_flash_program_once_html_a90ed02b50f81cc38e282ff495cde6a7d"><div class="ttname"><a href="classblfwk_1_1_flash_program_once.html#a90ed02b50f81cc38e282ff495cde6a7d">blfwk::FlashProgramOnce::m_index</a></div><div class="ttdeci">uint32_t m_index</div><div class="ttdoc">Index of program once field to be programed. </div><div class="ttdef"><b>Definition:</b> Command.h:1316</div></div>
<div class="ttc" id="classblfwk_1_1_configure_quad_spi_html_af991ffe2a30f455937100db8e0acfdcd"><div class="ttname"><a href="classblfwk_1_1_configure_quad_spi.html#af991ffe2a30f455937100db8e0acfdcd">blfwk::ConfigureQuadSpi::processResponse</a></div><div class="ttdeci">virtual bool processResponse(const uint8_t *packet)</div><div class="ttdoc">Check generic response packet. </div><div class="ttdef"><b>Definition:</b> Command.h:1413</div></div>
<div class="ttc" id="classblfwk_1_1_progress_html"><div class="ttname"><a href="classblfwk_1_1_progress.html">blfwk::Progress</a></div><div class="ttdoc">Contains the callback function for progress and abort phase. </div><div class="ttdef"><b>Definition:</b> Command.h:225</div></div>
<div class="ttc" id="classblfwk_1_1_configure_quad_spi_html_a81bab2c9b6dca7b714a002f5e7c1d06d"><div class="ttname"><a href="classblfwk_1_1_configure_quad_spi.html#a81bab2c9b6dca7b714a002f5e7c1d06d">blfwk::ConfigureQuadSpi::m_flashMemId</a></div><div class="ttdeci">uint32_t m_flashMemId</div><div class="ttdoc">Flash memory ID. </div><div class="ttdef"><b>Definition:</b> Command.h:1420</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_1_1_file_data_producer_html_a1a29c163eed198c4848674294923776f"><div class="ttname"><a href="classblfwk_1_1_data_packet_1_1_file_data_producer.html#a1a29c163eed198c4848674294923776f">blfwk::DataPacket::FileDataProducer::m_filePointer</a></div><div class="ttdeci">FILE * m_filePointer</div><div class="ttdoc">Data file pointer. </div><div class="ttdef"><b>Definition:</b> Command.h:562</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_1_1_hex_data_producer_html_adb7430cb76e18ef56a0b7dbff8cb85b4"><div class="ttname"><a href="classblfwk_1_1_data_packet_1_1_hex_data_producer.html#adb7430cb76e18ef56a0b7dbff8cb85b4">blfwk::DataPacket::HexDataProducer::HexDataProducer</a></div><div class="ttdeci">HexDataProducer()</div><div class="ttdoc">Default constructor. </div><div class="ttdef"><b>Definition:</b> Command.h:573</div></div>
<div class="ttc" id="classblfwk_1_1_call_html"><div class="ttname"><a href="classblfwk_1_1_call.html">blfwk::Call</a></div><div class="ttdoc">Represents the bootloader Call command. </div><div class="ttdef"><b>Definition:</b> Command.h:1213</div></div>
<div class="ttc" id="classblfwk_1_1_flash_erase_region_html_adca719546f5838cd60958928c8ec331d"><div class="ttname"><a href="classblfwk_1_1_flash_erase_region.html#adca719546f5838cd60958928c8ec331d">blfwk::FlashEraseRegion::m_byteCount</a></div><div class="ttdeci">uint32_t m_byteCount</div><div class="ttdoc">Number of bytes to erase. </div><div class="ttdef"><b>Definition:</b> Command.h:921</div></div>
<div class="ttc" id="classblfwk_1_1_call_html_a527ee13502429e2497274912de0e686f"><div class="ttname"><a href="classblfwk_1_1_call.html#a527ee13502429e2497274912de0e686f">blfwk::Call::m_callAddress</a></div><div class="ttdeci">uint32_t m_callAddress</div><div class="ttdoc">Destination memory address to call. </div><div class="ttdef"><b>Definition:</b> Command.h:1236</div></div>
<div class="ttc" id="classblfwk_1_1_command_html_a51145da63794b2996322a873ba8e9b6e"><div class="ttname"><a href="classblfwk_1_1_command.html#a51145da63794b2996322a873ba8e9b6e">blfwk::Command::getArgCount</a></div><div class="ttdeci">virtual size_t getArgCount() const </div><div class="ttdoc">Get the number of arguments, including the command name. </div><div class="ttdef"><b>Definition:</b> Command.h:366</div></div>
<div class="ttc" id="structblfwk_1_1property__t_html"><div class="ttname"><a href="structblfwk_1_1property__t.html">blfwk::property_t</a></div><div class="ttdef"><b>Definition:</b> Command.h:117</div></div>
<div class="ttc" id="classblfwk_1_1_flash_read_resource_html_a45042d907ebaf6883ea93ff68b61006f"><div class="ttname"><a href="classblfwk_1_1_flash_read_resource.html#a45042d907ebaf6883ea93ff68b61006f">blfwk::FlashReadResource::m_byteCount</a></div><div class="ttdeci">uint32_t m_byteCount</div><div class="ttdoc">Number of bytes to read. </div><div class="ttdef"><b>Definition:</b> Command.h:1389</div></div>
<div class="ttc" id="classblfwk_1_1_read_memory_html_a6a7f2cf84a409d19014a77943f6b2cfa"><div class="ttname"><a href="classblfwk_1_1_read_memory.html#a6a7f2cf84a409d19014a77943f6b2cfa">blfwk::ReadMemory::ReadMemory</a></div><div class="ttdeci">ReadMemory(const string_vector_t *argv)</div><div class="ttdoc">Constructor that takes an argument vector. </div><div class="ttdef"><b>Definition:</b> Command.h:1002</div></div>
<div class="ttc" id="classblfwk_1_1_progress_html_aebd319a5fa62be9ef953d29ef7584830"><div class="ttname"><a href="classblfwk_1_1_progress.html#aebd319a5fa62be9ef953d29ef7584830">blfwk::Progress::abortPhase</a></div><div class="ttdeci">bool abortPhase(void)</div><div class="ttdoc">Check whether the data phase is canceled. </div><div class="ttdef"><b>Definition:</b> Command.h:260</div></div>
<div class="ttc" id="classblfwk_1_1_execute_html_a7db76925b902a2294eb38b607fc29518"><div class="ttname"><a href="classblfwk_1_1_execute.html#a7db76925b902a2294eb38b607fc29518">blfwk::Execute::Execute</a></div><div class="ttdeci">Execute(uint32_t entry_point, uint32_t param, uint32_t stack_pointer)</div><div class="ttdoc">Constructor that takes entry_point, param and stack_pointer arguments. </div><div class="ttdef"><b>Definition:</b> Command.h:1179</div></div>
<div class="ttc" id="classblfwk_1_1_write_memory_html_a7b8f2582faf279792017112f746b9c8b"><div class="ttname"><a href="classblfwk_1_1_write_memory.html#a7b8f2582faf279792017112f746b9c8b">blfwk::WriteMemory::WriteMemory</a></div><div class="ttdeci">WriteMemory(const string_vector_t *argv)</div><div class="ttdoc">Constructor that takes an argument vector. </div><div class="ttdef"><b>Definition:</b> Command.h:1038</div></div>
<div class="ttc" id="classblfwk_1_1_flash_read_resource_html_a8732984bd658619cbdce28ba08f1740d"><div class="ttname"><a href="classblfwk_1_1_flash_read_resource.html#a8732984bd658619cbdce28ba08f1740d">blfwk::FlashReadResource::m_startAddress</a></div><div class="ttdeci">uint32_t m_startAddress</div><div class="ttdoc">Destination memory address. </div><div class="ttdef"><b>Definition:</b> Command.h:1388</div></div>
<div class="ttc" id="classblfwk_1_1_flash_program_once_html_a905343a51e2859a833cb58eaf3e464f8"><div class="ttname"><a href="classblfwk_1_1_flash_program_once.html#a905343a51e2859a833cb58eaf3e464f8">blfwk::FlashProgramOnce::m_dataLow</a></div><div class="ttdeci">uint32_t m_dataLow</div><div class="ttdoc">Bytes 0-3 of the data to be written. </div><div class="ttdef"><b>Definition:</b> Command.h:1318</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_html_aded94e04d37e645c818ac5934067e4ca"><div class="ttname"><a href="classblfwk_1_1_data_packet.html#aded94e04d37e645c818ac5934067e4ca">blfwk::DataPacket::m_dataConsumer</a></div><div class="ttdeci">DataConsumer * m_dataConsumer</div><div class="ttdoc">Process the data in the packet. </div><div class="ttdef"><b>Definition:</b> Command.h:761</div></div>
<div class="ttc" id="classblfwk_1_1_flash_read_resource_html_a530f9f5e12d8672f813d4f618e7fb7a9"><div class="ttname"><a href="classblfwk_1_1_flash_read_resource.html#a530f9f5e12d8672f813d4f618e7fb7a9">blfwk::FlashReadResource::m_dataFile</a></div><div class="ttdeci">std::string m_dataFile</div><div class="ttdoc">Data file path. </div><div class="ttdef"><b>Definition:</b> Command.h:1387</div></div>
<div class="ttc" id="classblfwk_1_1_flash_erase_region_html_ad394128865001ba2c0b4647e6fb628d3"><div class="ttname"><a href="classblfwk_1_1_flash_erase_region.html#ad394128865001ba2c0b4647e6fb628d3">blfwk::FlashEraseRegion::FlashEraseRegion</a></div><div class="ttdeci">FlashEraseRegion(const string_vector_t *argv)</div><div class="ttdoc">Constructor that takes an argument vector. </div><div class="ttdef"><b>Definition:</b> Command.h:890</div></div>
<div class="ttc" id="classblfwk_1_1_flash_erase_all_html_a5df413e0158275005399d4295a444daf"><div class="ttname"><a href="classblfwk_1_1_flash_erase_all.html#a5df413e0158275005399d4295a444daf">blfwk::FlashEraseAll::m_memoryId</a></div><div class="ttdeci">uint32_t m_memoryId</div><div class="ttdoc">Flash Memory Identifier. </div><div class="ttdef"><b>Definition:</b> Command.h:959</div></div>
<div class="ttc" id="classblfwk_1_1_read_memory_html_a5e7124cf1bc209925c14d389e7b39543"><div class="ttname"><a href="classblfwk_1_1_read_memory.html#a5e7124cf1bc209925c14d389e7b39543">blfwk::ReadMemory::processResponse</a></div><div class="ttdeci">virtual bool processResponse(const uint8_t *packet)</div><div class="ttdoc">Check generic response packet. </div><div class="ttdef"><b>Definition:</b> Command.h:1019</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_1_1_file_data_consumer_html_af03ebfebc3d50fbc4c073aa99a247007"><div class="ttname"><a href="classblfwk_1_1_data_packet_1_1_file_data_consumer.html#af03ebfebc3d50fbc4c073aa99a247007">blfwk::DataPacket::FileDataConsumer::m_filePath</a></div><div class="ttdeci">std::string m_filePath</div><div class="ttdoc">Data file path. </div><div class="ttdef"><b>Definition:</b> Command.h:691</div></div>
<div class="ttc" id="classblfwk_1_1_flash_erase_all_html_aa635497fd9585e65889868df0d3aabef"><div class="ttname"><a href="classblfwk_1_1_flash_erase_all.html#aa635497fd9585e65889868df0d3aabef">blfwk::FlashEraseAll::FlashEraseAll</a></div><div class="ttdeci">FlashEraseAll(const string_vector_t *argv)</div><div class="ttdoc">Constructor that takes an argument vector. </div><div class="ttdef"><b>Definition:</b> Command.h:931</div></div>
<div class="ttc" id="classblfwk_1_1_command_html_ad805b9ee39a4ab9cdfe6584590e2ce11"><div class="ttname"><a href="classblfwk_1_1_command.html#ad805b9ee39a4ab9cdfe6584590e2ce11">blfwk::Command::m_progress</a></div><div class="ttdeci">Progress * m_progress</div><div class="ttdoc">Variable for progress control. </div><div class="ttdef"><b>Definition:</b> Command.h:393</div></div>
<div class="ttc" id="classblfwk_1_1_command_packet_html_a7c00d6e5ea62fa339c5ec4470c3c44d5"><div class="ttname"><a href="classblfwk_1_1_command_packet.html#a7c00d6e5ea62fa339c5ec4470c3c44d5">blfwk::CommandPacket::CommandPacket</a></div><div class="ttdeci">CommandPacket(uint8_t tag, uint8_t flags, uint32_t arg1, uint32_t arg2, uint32_t arg3)</div><div class="ttdoc">Constructor that takes three command arguments. </div><div class="ttdef"><b>Definition:</b> Command.h:457</div></div>
<div class="ttc" id="classblfwk_1_1_receive_sb_file_html_a8352c95e91f8e0e477080ff0d6f1c025"><div class="ttname"><a href="classblfwk_1_1_receive_sb_file.html#a8352c95e91f8e0e477080ff0d6f1c025">blfwk::ReceiveSbFile::ReceiveSbFile</a></div><div class="ttdeci">ReceiveSbFile(const char *const filename)</div><div class="ttdoc">Constructor that takes a filename argument. </div><div class="ttdef"><b>Definition:</b> Command.h:1142</div></div>
<div class="ttc" id="classblfwk_1_1_flash_erase_region_html_a72edeed4986346eb8a22ef1934bff166"><div class="ttname"><a href="classblfwk_1_1_flash_erase_region.html#a72edeed4986346eb8a22ef1934bff166">blfwk::FlashEraseRegion::m_startAddress</a></div><div class="ttdeci">uint32_t m_startAddress</div><div class="ttdoc">Starting address in flash. </div><div class="ttdef"><b>Definition:</b> Command.h:920</div></div>
<div class="ttc" id="classblfwk_1_1_fill_memory_html"><div class="ttname"><a href="classblfwk_1_1_fill_memory.html">blfwk::FillMemory</a></div><div class="ttdoc">Represents the bootloader Fill Memory command. </div><div class="ttdef"><b>Definition:</b> Command.h:1099</div></div>
<div class="ttc" id="classblfwk_1_1_get_property_html_a534dafa35ed1b61418c7e59dbaa3c62b"><div class="ttname"><a href="classblfwk_1_1_get_property.html#a534dafa35ed1b61418c7e59dbaa3c62b">blfwk::GetProperty::GetProperty</a></div><div class="ttdeci">GetProperty(property_t property)</div><div class="ttdoc">Constructor that takes a property_t argument. </div><div class="ttdef"><b>Definition:</b> Command.h:813</div></div>
<div class="ttc" id="classblfwk_1_1_get_property_html_ad4a1293704921d937c8f3cbdef12ad21"><div class="ttname"><a href="classblfwk_1_1_get_property.html#ad4a1293704921d937c8f3cbdef12ad21">blfwk::GetProperty::processResponse</a></div><div class="ttdeci">virtual bool processResponse(const uint8_t *packet)</div><div class="ttdoc">Check generic response packet. </div><div class="ttdef"><b>Definition:</b> Command.h:831</div></div>
<div class="ttc" id="classblfwk_1_1_flash_read_resource_html"><div class="ttname"><a href="classblfwk_1_1_flash_read_resource.html">blfwk::FlashReadResource</a></div><div class="ttdoc">Represents the bootloader Read Resource command. </div><div class="ttdef"><b>Definition:</b> Command.h:1359</div></div>
<div class="ttc" id="classblfwk_1_1_receive_sb_file_html"><div class="ttname"><a href="classblfwk_1_1_receive_sb_file.html">blfwk::ReceiveSbFile</a></div><div class="ttdoc">Represents the bootloader Receive SB File command. </div><div class="ttdef"><b>Definition:</b> Command.h:1131</div></div>
<div class="ttc" id="classblfwk_1_1_flash_erase_all_html_aefaa5e218ebae6eca786b14355f398fd"><div class="ttname"><a href="classblfwk_1_1_flash_erase_all.html#aefaa5e218ebae6eca786b14355f398fd">blfwk::FlashEraseAll::processResponse</a></div><div class="ttdeci">virtual bool processResponse(const uint8_t *packet)</div><div class="ttdoc">Check response packet. </div><div class="ttdef"><b>Definition:</b> Command.h:952</div></div>
<div class="ttc" id="classblfwk_1_1_flash_image_html_a2c7277aa736ef7e619e7f3fb2c54597c"><div class="ttname"><a href="classblfwk_1_1_flash_image.html#a2c7277aa736ef7e619e7f3fb2c54597c">blfwk::FlashImage::m_fileName</a></div><div class="ttdeci">std::string m_fileName</div><div class="ttdoc">Image file name with full path. </div><div class="ttdef"><b>Definition:</b> Command.h:1490</div></div>
<div class="ttc" id="classblfwk_1_1_command_html_abfb8748889d575faae835df892f5a637"><div class="ttname"><a href="classblfwk_1_1_command.html#abfb8748889d575faae835df892f5a637">blfwk::Command::m_argv</a></div><div class="ttdeci">string_vector_t m_argv</div><div class="ttdoc">Vector of argument strings. </div><div class="ttdef"><b>Definition:</b> Command.h:396</div></div>
<div class="ttc" id="classblfwk_1_1_execute_html_a610994f12ac7a0c6762725a3c416080f"><div class="ttname"><a href="classblfwk_1_1_execute.html#a610994f12ac7a0c6762725a3c416080f">blfwk::Execute::m_stackpointer</a></div><div class="ttdeci">uint32_t m_stackpointer</div><div class="ttdoc">Stack pointer. </div><div class="ttdef"><b>Definition:</b> Command.h:1207</div></div>
<div class="ttc" id="classblfwk_1_1_receive_sb_file_html_a32d484e8cb3868706c6cbb213d9ee5ff"><div class="ttname"><a href="classblfwk_1_1_receive_sb_file.html#a32d484e8cb3868706c6cbb213d9ee5ff">blfwk::ReceiveSbFile::m_dataFile</a></div><div class="ttdeci">std::string m_dataFile</div><div class="ttdoc">SB file path. </div><div class="ttdef"><b>Definition:</b> Command.h:1163</div></div>
<div class="ttc" id="classblfwk_1_1_set_property_html"><div class="ttname"><a href="classblfwk_1_1_set_property.html">blfwk::SetProperty</a></div><div class="ttdoc">Represents the bootloader GetProperty command. </div><div class="ttdef"><b>Definition:</b> Command.h:845</div></div>
<div class="ttc" id="classblfwk_1_1_read_memory_html_aa01f1ccf2b5bea51d51f6b96c99acc39"><div class="ttname"><a href="classblfwk_1_1_read_memory.html#aa01f1ccf2b5bea51d51f6b96c99acc39">blfwk::ReadMemory::m_startAddress</a></div><div class="ttdeci">uint32_t m_startAddress</div><div class="ttdoc">Destination memory address. </div><div class="ttdef"><b>Definition:</b> Command.h:1027</div></div>
<div class="ttc" id="classblfwk_1_1_execute_html"><div class="ttname"><a href="classblfwk_1_1_execute.html">blfwk::Execute</a></div><div class="ttdoc">Represents the bootloader Execute command. </div><div class="ttdef"><b>Definition:</b> Command.h:1169</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_1_1_segment_data_producer_html_aa83d9610c54b8aff1228ed54f2bc5985"><div class="ttname"><a href="classblfwk_1_1_data_packet_1_1_segment_data_producer.html#aa83d9610c54b8aff1228ed54f2bc5985">blfwk::DataPacket::SegmentDataProducer::~SegmentDataProducer</a></div><div class="ttdeci">virtual ~SegmentDataProducer()</div><div class="ttdoc">Destructor. </div><div class="ttdef"><b>Definition:</b> Command.h:627</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_1_1_std_out_data_consumer_html"><div class="ttname"><a href="classblfwk_1_1_data_packet_1_1_std_out_data_consumer.html">blfwk::DataPacket::StdOutDataConsumer</a></div><div class="ttdoc">Print data for data phase receive. </div><div class="ttdef"><b>Definition:</b> Command.h:698</div></div>
<div class="ttc" id="classblfwk_1_1_flash_program_once_html"><div class="ttname"><a href="classblfwk_1_1_flash_program_once.html">blfwk::FlashProgramOnce</a></div><div class="ttdoc">Represents the bootloader Flash Program Once command. </div><div class="ttdef"><b>Definition:</b> Command.h:1282</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_1_1_file_data_consumer_html_a273c064cf82b5ccc186f519685f9dccc"><div class="ttname"><a href="classblfwk_1_1_data_packet_1_1_file_data_consumer.html#a273c064cf82b5ccc186f519685f9dccc">blfwk::DataPacket::FileDataConsumer::~FileDataConsumer</a></div><div class="ttdeci">virtual ~FileDataConsumer()</div><div class="ttdoc">Destructor. </div><div class="ttdef"><b>Definition:</b> Command.h:676</div></div>
<div class="ttc" id="structblfwk_1_1_status_message_table_entry_html"><div class="ttname"><a href="structblfwk_1_1_status_message_table_entry.html">blfwk::StatusMessageTableEntry</a></div><div class="ttdoc">Entry in a lookup table of status messages. </div><div class="ttdef"><b>Definition:</b> Command.h:209</div></div>
<div class="ttc" id="classblfwk_1_1_command_packet_html_a499d19940835d240d93ccf5df343cdf5"><div class="ttname"><a href="classblfwk_1_1_command_packet.html#a499d19940835d240d93ccf5df343cdf5">blfwk::CommandPacket::getData</a></div><div class="ttdeci">const uint8_t * getData()</div><div class="ttdoc">Get pointer to command packet data. </div><div class="ttdef"><b>Definition:</b> Command.h:480</div></div>
<div class="ttc" id="classblfwk_1_1_flash_erase_all_unsecure_html_a5ec45e3674896a6f1a8ea67806422c5f"><div class="ttname"><a href="classblfwk_1_1_flash_erase_all_unsecure.html#a5ec45e3674896a6f1a8ea67806422c5f">blfwk::FlashEraseAllUnsecure::processResponse</a></div><div class="ttdeci">virtual bool processResponse(const uint8_t *packet)</div><div class="ttdoc">Check response packet. </div><div class="ttdef"><b>Definition:</b> Command.h:988</div></div>
<div class="ttc" id="classblfwk_1_1_flash_program_once_html_a03dba34843ffd22316d6a2f56475f14e"><div class="ttname"><a href="classblfwk_1_1_flash_program_once.html#a03dba34843ffd22316d6a2f56475f14e">blfwk::FlashProgramOnce::m_byteCount</a></div><div class="ttdeci">uint32_t m_byteCount</div><div class="ttdoc">Number of bytes to be programmed. </div><div class="ttdef"><b>Definition:</b> Command.h:1317</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_html_ac3c58eed3f22bc481534d58c96e2aff8"><div class="ttname"><a href="classblfwk_1_1_data_packet.html#ac3c58eed3f22bc481534d58c96e2aff8">blfwk::DataPacket::DataPacket</a></div><div class="ttdeci">DataPacket(DataProducer *dataProducer)</div><div class="ttdoc">Constructor that takes a DataProducer. </div><div class="ttdef"><b>Definition:</b> Command.h:736</div></div>
<div class="ttc" id="classblfwk_1_1_command_packet_html_ac98432b22a7a5b403343e932940d41a3"><div class="ttname"><a href="classblfwk_1_1_command_packet.html#ac98432b22a7a5b403343e932940d41a3">blfwk::CommandPacket::CommandPacket</a></div><div class="ttdeci">CommandPacket(uint8_t tag, uint8_t flags, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4)</div><div class="ttdoc">Constructor that takes four command arguments. </div><div class="ttdef"><b>Definition:</b> Command.h:467</div></div>
<div class="ttc" id="classblfwk_1_1_write_memory_html_a2ddc91635b4f3c454aea302e2e7950d7"><div class="ttname"><a href="classblfwk_1_1_write_memory.html#a2ddc91635b4f3c454aea302e2e7950d7">blfwk::WriteMemory::WriteMemory</a></div><div class="ttdeci">WriteMemory(blfwk::DataSource::Segment *segment)</div><div class="ttdoc">Constructor that takes an DataSource::Segment argument. </div><div class="ttdef"><b>Definition:</b> Command.h:1049</div></div>
<div class="ttc" id="classblfwk_1_1_flash_read_once_html_ad1bc79c34ed7a755417adc7f55d80fc8"><div class="ttname"><a href="classblfwk_1_1_flash_read_once.html#ad1bc79c34ed7a755417adc7f55d80fc8">blfwk::FlashReadOnce::m_index</a></div><div class="ttdeci">uint32_t m_index</div><div class="ttdoc">Index of Program Once Field. </div><div class="ttdef"><b>Definition:</b> Command.h:1352</div></div>
<div class="ttc" id="classblfwk_1_1_flash_read_once_html"><div class="ttname"><a href="classblfwk_1_1_flash_read_once.html">blfwk::FlashReadOnce</a></div><div class="ttdoc">Represents the bootloader Flash Read Once command. </div><div class="ttdef"><b>Definition:</b> Command.h:1325</div></div>
<div class="ttc" id="classblfwk_1_1_command_html_aad5b73025e9f648a46a595aabda920e3"><div class="ttname"><a href="classblfwk_1_1_command.html#aad5b73025e9f648a46a595aabda920e3">blfwk::Command::getResponseValues</a></div><div class="ttdeci">virtual const uint32_vector_t * getResponseValues() const </div><div class="ttdoc">Get response values vector. </div><div class="ttdef"><b>Definition:</b> Command.h:372</div></div>
<div class="ttc" id="classblfwk_1_1_data_packet_html"><div class="ttname"><a href="classblfwk_1_1_data_packet.html">blfwk::DataPacket</a></div><div class="ttdoc">Data packet operations. </div><div class="ttdef"><b>Definition:</b> Command.h:496</div></div>
<div class="ttc" id="classblfwk_1_1_configure_i2c_html_a8e50b286d2a9d3608473057c1bde9e1f"><div class="ttname"><a href="classblfwk_1_1_configure_i2c.html#a8e50b286d2a9d3608473057c1bde9e1f">blfwk::ConfigureI2c::ConfigureI2c</a></div><div class="ttdeci">ConfigureI2c(const string_vector_t *argv)</div><div class="ttdoc">Constructor that takes an argument vector. </div><div class="ttdef"><b>Definition:</b> Command.h:1502</div></div>
<div class="ttc" id="classblfwk_1_1_command_html_a19293e9923df7730149f95084159d9a8"><div class="ttname"><a href="classblfwk_1_1_command.html#a19293e9923df7730149f95084159d9a8">blfwk::Command::init</a></div><div class="ttdeci">virtual bool init()</div><div class="ttdoc">Initialize. </div><div class="ttdef"><b>Definition:</b> Command.h:357</div></div>
<div class="ttc" id="classblfwk_1_1_flash_erase_region_html_a6f6f16895a1a41cfc404f26d87713535"><div class="ttname"><a href="classblfwk_1_1_flash_erase_region.html#a6f6f16895a1a41cfc404f26d87713535">blfwk::FlashEraseRegion::processResponse</a></div><div class="ttdeci">virtual bool processResponse(const uint8_t *packet)</div><div class="ttdoc">Check response packet. </div><div class="ttdef"><b>Definition:</b> Command.h:913</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_80fb9e53c172a775cab667063273d0e3.html">blfwk</a></li><li class="navelem"><b>Command.h</b></li>
    <li class="footer">Generated on Mon Mar 7 2016 16:49:49 for Kinetis Bootloader Host by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
